Error message when you try to switch between processes in Visual Studio 2005: "The source code cannot be displayed" (919810)



The information in this article 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 "Applies to" section.

MORE INFORMATION

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 "Symptoms" section.

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

Modification Type:MajorLast Reviewed:8/22/2006
Keywords:kbtshoot kberrmsg kbBug kbprb KB919810 kbAudDeveloper