I am running my application from Studio 2005 and I can see the first-chance exception (C++), but it doesn't break anywhere in source code. As a result, I can't find out where is the place in my code cause the exception.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DataConsole\WebServer\ReleaseMinDependency\IdsDoWebServer.exe', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsErrorHandlingSupport.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_dec6ddd2\mfc80.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcr80.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcp80.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsMessagingSupport.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsSharedMemory.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\wininet.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\ExtSupport\OpenSSL\bin\ssleay32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\ExtSupport\OpenSSL\bin\libeay32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\idsmt.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsXRSClientMgr.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_3415f6d0\mfc80ENU.dll', Binary was not built with debug information.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\comctl32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\comres.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\version.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', Exports loaded.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DatabaseManager\DbmSupport\ReleaseMinDependency\IdsDbmSupport.dll', Symbols loaded.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsActiveScriptSupport.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', Exports loaded.
'IdsDoWebServer.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', Exports loaded.
'IdsDoWebServer.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', Exports loaded.
'IdsDoWebServer.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DatabaseManager\Dbm\IdsDatabaseManagerps.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DataConsole\ServiceCore\ReleaseMinDependency\IdsDataObjectServiceCore.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsDataObjectLogger.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsDoExecutionManager.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DataConsole\DataCore\ReleaseMinDependency\IdsDataObjectDataCore.dll', Symbols loaded.
'IdsDoWebServer.exe': Loaded 'D:\ExtSupport\ThirdPartySupport\regex.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DatabaseManager\DbmSupport\IdsDbmSupportps.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Components\SupportObjects\ReleaseMinDependency\IdsSupportObjects.dll', Exports loaded.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5e754..
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\pdh.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\comdlg32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.1830_x-ww_1B6F474A\comctl32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\odbc32.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\odbcbcp.dll', Exports loaded.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\odbcint.dll', Binary was not built with debug information.
'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\perfproc.dll', Exports loaded.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5cd20..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5c858..
'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DataConsole\ViewBasis\ReleaseMinDependency\IdsDataObjectViewBasis.dll', Exports loaded.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5ca94..
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: 0x000006D9: There are no more endpoints available from the endpoint mapper.
First-chance exception at 0x77e55e02 (kernel32.dll) in IdsDoWebServer.exe: Microsoft C++ exception: _com_error at memory location 0x03b5c958..
The thread 'Win32 Thread' (0x57c) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xb30) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xc40) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0x398) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0x6c8) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xcfc) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xb2c) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xda8) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xff0) has exited with code -1073741811 (0xc000000d).
The thread 'Win32 Thread' (0xd88) has exited with code -1073741811 (0xc000000d).
The program '[760] IdsDoWebServer.exe: Native' has exited with code -1073741811 (0xc000000d).

How the let Studio 2005 break in source code if there is a C++ first-chance exception?
norbijuzer
I did check all menu items under debug when I have my project open. I couldn't see the Exceptions at all.
I know the option exists in Visual Studio 6.0, but I couldn't find it on Visual Studio 2005.
WayneW
huabing78
TJC2
You've probably accidently dragged the debug menu off by mistake, but as far as I know, there's no simple way to add it - you'll have to customize the IDE and add a new menu, rename the menu '&Debug' and add all the required items.
To help with your particular problem though, the default shortcut for the exceptions dialog is Ctrl+Alt+E or alternatively, open up the command window and type Debug.Exceptions