![]() ![]() For example, when we use FileStream to load a file, it is expected for developers that the file is not existed, hence, the developer would write a catch block to handle the FileNotFoundException. In some scenarios, we expect some exceptions to happen. This will enable Visual Studio to stop at COMExceptions when debugging.īasically, a first chance exception is harmless. You could go to Debug -> Exception -> Common Language Runtime Exception -> -> and check the Thrown checkbox. The program ' ehexthost.exe: Managed' has exited with code -1 (0xffffffff).Ĭan somebody help me? how to find out what exception is thrown? thanx! 'ehexthost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\\6.1.0.0_31bf3856ad364e35\.dll'Ī first chance exception of type '' occurred in .dllĪ first chance exception of type '' occurred in mscorlib.dll 'ehexthost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_32\CustomMarshalers\2.0.0.0_b03f5f7f11d50a3a\CustomMarshalers.dll' 'ehexthost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.MediaCenter\6.1.0.0_31bf3856ad364e35\', Symbols loaded. 'ehexthost.exe' (Managed): Loaded 'C:\Windows\eHome\ehExtHost.exe', Symbols loaded. here is the listing i get: 'ehexthost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0_b77a5c561934e089\mscorlib.dll', Symbols loaded. so i attached a the debugger to try and see what is going on, it looks like all dll are loaded but at the end there is something wrong. and indeed it shows up, but then i try to run it and i get an error and a dialog stating the application wil exit, i return to mediacenter. So i switched the comment, i should see my app in More programs now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |