Microsoft KB Archive/318616

= BUG: Symbols cannot load when you use quotation marks around a symbol path in the &quot;Project Properties&quot; dialog box =

Article ID: 318616

Article Last Modified on 8/18/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * 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.



Steps to Reproduce the Behavior
To reproduce the behavior, follow these steps:  Create a Visual C++ Managed Extensions for C++ application named DebugTest. Compile the project. Set a breakpoint in the Console::WriteLine statement. 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. Press F5 to start the debugger. You receive the following error message:

&quot;No Symbolic Information. 'DebugTest.exe' does not contain debugging information.&quot;

 Cancel the debugging. Right-click DebugTest in Solution Explorer, and then click Properties.</li> Click Debugging in the left pane. On the right, in Symbol Path, type the path where you copied the .pdb file, C:\Tmp .</li> Press F5 to start the debugger. The debugger starts as expected, and then breaks at the breakpoint.</li> 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, &quot;C:\Tmp&quot; (with the quotation marks).</li> Press F5 to start the debugger.</li></ol>

<div class="references_section">