FIX: Debugger Hangs When Very Long STL Symbol in Watch Window (171849)
The information in this article applies to:
- The Integrated Debugger, when used with:
- Microsoft Visual Studio 97
This article was previously published under Q171849 SYMPTOMS
The debugger hangs when an STL object with very long symbol name is viewed
in the Watch Window and expanded. You have to close Developer Studio Task
Manager and restart. The sample program in the MORE INFORMATION section
demonstrates this behavior.
CAUSE
This behavior occurs because the debugger currently has a limit of 255
characters for symbols.
RESOLUTION
Reduce the size of the mangled symbol names. You can do this by shortening
the names of classes and class members. You can also shorten class names of
classes by using #define.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 2.
For more information on the Visual Studio 97 Service Pack 2, please see the
following article in the Microsoft Knowledge Base:
170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbbug kbfix kbVS97sp2fix KB171849 |
---|
|