FIX: The Visual Studio IDE stops responding or crashes when you compile a Visual C# solution under the IDE debugger

Article translations Article translations
Article ID: 909086 - View products that this article applies to.
Expand all | Collapse all


When you compile a Visual C# solution under the Visual Studio IDE debugger, the Visual Studio IDE stops responding or crashes.


This problem is caused by a bug in the Visual C# .NET 2003 compiler.


A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual C# .NET 2003 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


You must have Microsoft Visual C# .NET 2003 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Visual Studio .NET 2003 32-bit Hotfix

Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cpde.dll7.10.5022.0303,10407-Oct-200510:15Not Applicable
Csee.dll7.10.5022.0196,60807-Oct-200510:16Not Applicable
Vsdebug.dll7.10.5022.0692,22407-Oct-200510:21Not Applicable


Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.


Stack dump information

You may receive the following stack dump information when the Visual Studio IDE crash occurs:
0:020> kbnL
 # ChildEBP RetAddr  Args to Child              
00 1867ef80 77f5c534 77e7a580 00001e20 00000000 SharedUserData!SystemCallStub+0x4
01 1867ef84 77e7a580 00001e20 00000000 1867efac ntdll!ZwWaitForSingleObject+0xc
02 1867efe8 77e7ab74 00001e20 00004e20 00000000 kernel32!WaitForSingleObjectEx+0xa8
03 1867eff8 004134e5 00001e20 00004e20 0040d15b kernel32!WaitForSingleObject+0xf
04 1867f37c 0040d0ee 00000001 00000000 1867f998 devenv!DwCreateProcess+0xc0
05 1867f3c4 7918cd0e 1867f998 1867f998 792b0622 devenv!DwExceptionFilter+0x107
06 1867f3d0 792b0622 1867f998 1867f998 1867f998 mscoree!__CxxUnhandledExceptionFilter+0x46
07 1867f420 792b0651 1867f998 00000001 1867f970 mscorwks!InternalUnhandledExceptionFilter+0x171
08 1867f430 6056857d 1867f998 1867f998 6006c45e mscorwks!COMUnhandledExceptionFilter+0xd
09 1867f43c 6006c45e 1867f998 00000000 77e99bf5 SSSCC!__CxxUnhandledExceptionFilter+0x3e
0a 1867f448 77e99bf5 1867f998 77e8a870 00000000 SSAPI!__CxxUnhandledExceptionFilter+0x3e
0b 1867f970 77e9f33c 1867f998 77e9b334 1867f9a0 kernel32!UnhandledExceptionFilter+0x10a
0c 1867ffec 00000000 5180c9f8 00000000 00000000 kernel32!BaseThreadStart+0x4d

0:020> .frame 5
05 1867f3c4 7918cd0e devenv!DwExceptionFilter+0x107 [\\cpvsbuild\drops\v7.0eve\raw\3077\vs\src\appid\devenv\stub\winmain.cpp @ 247]

0:020> dv /V
1867f3cc @ebp+0x08 pExceptionPointers = 0x1867f998

0:020> dt pExceptionPointers
Local var @ 0x1867f3cc Type _EXCEPTION_POINTERS*
   +0x000 ExceptionRecord  : 0x1867fa88 
   +0x004 ContextRecord    : 0x1867faa4 

0:020> .cxr 0x1867faa4 
eax=0000001a ebx=108c8900 ecx=166ddc98 edx=00000000 esi=1075f848 edi=00000000
eip=5180a596 esp=1867fd70 ebp=1867fdac iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
5180a596 8b08             mov     ecx,[eax]         ds:0023:0000001a=????????

0:020> kbnL
  *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  Args to Child              
00 1867fd70 518071c5 1867fd8c 108b0f28 1867fdc4 cpde!CModule::GetMetaDataImport+0xe
01 1867fdac 518072ed 834965da 4b2ef145 7e907f86 cpde!CDebugProgram::DoFindModuleFromGuid+0x59
02 1867fdf4 51805f27 29620814 1867fe38 1867feec cpde!CDebugEngine::FindModule+0xa6
03 1867fe98 51802523 00000000 00000001 00000000 cpde!CDebugThread::BuildStackFrames+0x212
04 1867feb8 517f241d 00000000 00000001 00000000 cpde!CDebugThread::GetCurrentStackFrame+0x35
05 1867ff38 517f179e 39f82f24 00000001 00000001 cpde!CDebugProgram::DoException+0x6f
06 1867ff7c 5180c786 008806e8 00880000 00000000 cpde!CDebugProgram::DoDebugEvent+0x287
07 1867ffb0 5180ca11 77e7d28e 00000000 008806e8 cpde!CThread::MessageLoop+0x71
08 1867ffb4 77e7d28e 00000000 008806e8 00880000 cpde!ThreadFunc+0x19
09 1867ffec 00000000 5180c9f8 00000000 00000000 kernel32!BaseThreadStart+0x37


Article ID: 909086 - Last Review: July 20, 2006 - Revision: 1.2
  • Microsoft Visual C# .NET 2003 Standard Edition
kbfix kbqfe kbtshoot kbhotfixserver kbbug KB909086

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from