Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
 No Source Code Available for the Cu...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Debugger
No Source Code Available for the Current Location Dialog Box

There is no source code available for the current location

Your project does not contain source code for the code you are trying to view. The usual cause is double-clicking a module that does not have source in the Call Stack Window or Threads Window. You can continue to debug, but cannot use the source window to set breakpoints and perform other actions at this location. If you need to set a breakpoint, use the Disassembly Window instead.

Another possible cause is trying to debug a dump file for managed code. Visual Studio supports debugging of managed minidumps in the Immediate window only, using the SOS tool. For information, see How to: Use SOS and SOS Debugging Extension (SOS.dll).

In the Solution Property Pages, you can change the directories where the debugger looks for sources files and tell the debugger to ignore selected source files. See Debug Source Files, Common Properties, Solution Property Pages Dialog Box.

Show disassembly automatically

Disables this dialog box and launches the Disassembly Window automatically when no source is available.

Show Disassembly

Launches the Disassembly Window but does not disable this dialog box.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker