BUG: Symbols cannot load when you use quotation marks around a symbol path in the "Project Properties" dialog box (318616)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q318616

SYMPTOMS

In Microsoft Visual Studio .NET, in the Project Properties dialog box, if you use quotation marks around a debugging symbol path, Visual Studio .NET debugger may not load symbols from that path.

RESOLUTION

Remove the quotation marks from the path settings. Note that even if there are spaces in the path (for example, C:\Program Files\MySymbols), quotation marks are not required. When the path does not have quotation marks, the symbols load properly.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

To reproduce the behavior, follow these steps:
  1. Create a Visual C++ Managed Extensions for C++ application named DebugTest.
  2. Compile the project.
  3. Set a breakpoint in the Console::WriteLine statement.
  4. Move the DebugTest.pdb file to another folder (for example, C:\Tmp). In the debug folder, delete the file that is built with the executable file.
  5. Press F5 to start the debugger. You receive the following error message:
    "No Symbolic Information. 'DebugTest.exe' does not contain debugging information."
  6. Cancel the debugging. Right-click DebugTest in Solution Explorer, and then click Properties.
  7. Click Debugging in the left pane. On the right, in Symbol Path, type the path where you copied the .pdb file, C:\Tmp.
  8. Press F5 to start the debugger. The debugger starts as expected, and then breaks at the breakpoint.
  9. Stop the debugger. In Project Properties, click Debugging in the left pane. On the right, in Symbol Path, type the path where you copied the .pdb file, "C:\Tmp" (with the quotation marks).
  10. Press F5 to start the debugger.

REFERENCES

For more information about settings and preparation for the Debugger, see the following article in the Microsoft Developer Network (MSDN) Documentation:

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbvs2002sp1sweep kbBug kbDebug kbIDEProject kbpending KB318616 kbAudDeveloper