Microsoft KB Archive/919810

= Error message when you try to switch between processes in Visual Studio 2005: &quot;The source code cannot be displayed&quot; =

Article ID: 919810

Article Last Modified on 12/11/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition
 * Microsoft Visual C# 2005 Express Edition

-





SYMPTOMS
Consider the following scenario. You are debugging multiple processes in the break state. You try to switch between processes by using the Processes window in Microsoft Visual Studio 2005. In this scenario, you receive the following error message:

No symbols are loaded for any call stack frame. The source code cannot be displayed.



WORKAROUND
To work around this problem, switch between processes by using the Threads window.

To open the Threads window, click Windows on the Debug menu, and then click Threads. Do this when you are debugging.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem

 * 1) Start Visual Studio 2005.
 * 2) On the File menu, click New, and then click Project.
 * 3) Click Visual C#, and then click Windows Application.
 * 4) In the Name box, type WindowsApplication1.
 * 5) Click to select the Create directory for solution check box, and then click OK.
 * 6) In Solution Explorer, right-click Solution 'WindowsApplication1', click Add, and then click New Project.
 * 7) Click Visual C#, and then click Windows Application.
 * 8) In the Name box, type WindowsApplication2, and then click OK.
 * 9) In Solution Explorer, right-click Solution 'WindowsApplication1', and then click Properties.
 * 10) Click Multiple startup projects.
 * 11) For the WindowsApplication1 project and for the WindowsApplication2 project, click Start in the Action column, and then click OK.
 * 12) To start debugging the processes in the break state, press F11.
 * 13) In the Processes window, double-click WindowsApplication2.vshost.exe. You receive the error message that is mentioned in the &quot;Symptoms&quot; section.

Note To open the Processes window, click Windows on the Debug menu, and then click Processes.

Additional query words: Process threads VS 2005 C#

Keywords: kbtshoot kberrmsg kbbug kbprb KB919810

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.