Visual C++ debugger crashes on breakpoint and you receive a MSDev.exe application error
This article was previously published under Q217437
This article has been archived. It is offered "as is" and will no longer be updated.
If you set a breakpoint, the debugger might crash with the following MSDev.exe application error when the application hits the breakpoint:
The instruction at "0x52522680" referenced memory at "0x02010019". The memory could not be "read".
The crash usually happens when the Auto or Watch debug windows are open.
To resolve this problem, close the Auto debug window before you hit the breakpoint. In some circumstances you might have to close the Watch debug window too.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, click the following article number to view the article in the Microsoft Knowledge Base:
Visual Studio 6.0 service packs, what, where, why
How to tell that Visual Studio 6.0 service packs are installed
Article ID: 217437 - Last Review: 02/21/2014 00:33:51 - Revision: 4.0
Microsoft Visual C++ 4.2 Enterprise Edition, Microsoft Visual C++ 5.0 Enterprise Edition, Microsoft Visual C++ 6.0 Enterprise Edition, Microsoft Visual C++ 4.2 Professional Edition, Microsoft Visual C++ 5.0 Professional Edition, Microsoft Visual C++ 6.0 Professional Edition, Microsoft Visual C++, 32-bit Learning Edition 6.0
Keywords: kbnosurvey kbarchive kbbug kbfix kbide kbdebug kbvs600sp3fix KB217437