Michel
Michel

Reputation: 23615

Visual Studio 2010 remote debugging: Debugging symbols are not loaded for this document

This is a weird problem, which luckily (?) also happens on other machines.

I've never had problems with debugging, and now I have: it shows an exclamation mark at my breakpoints which says :'The debugging symbols are not loaded for this document'.

The difference with other projects is that I run this web application in IIS:

When I start the site, it first says 'unable to start remote debugging'. I don't know why it looks for remote debugging, but when I started the remote debugging monitor, it still didn't work.

When I unloaded the debugging monitor, it didn't complain about the remote debugging anymore, but the exclamation mark still was there.

Solutions which -sometimes- help at my colleagues pc's:

Any idea?

Upvotes: 0

Views: 11875

Answers (4)

user3880809
user3880809

Reputation: 1

In my case I renamed an asp.net page and disconnected the code behind. Strange it still ran but did not run the code behind and therefore did not hit breakpoints in it.

Upvotes: 0

Shilpi
Shilpi

Reputation: 1

I had this issue bothering me for quite long. Finally, what resolved my problem is :-

1) Make Internet Explorer the default browser 2) Clean the solution 3) Build the solution

Upvotes: 0

Syed
Syed

Reputation: 1

You have to in Visual Studio 2010

  1. Select "Build" Meanu > Clean [Project/Solution Name]

  2. Rebuild [Project/Solution]

Try debug again... Good luck

Upvotes: -2

Richard
Richard

Reputation: 109015

Are you building full debugging symbols? If not then the debugger has no information to relate the source code to the in memory activity under the debugger. This is set in the project properties per configuration.

Also ensure the symbols are in the bin folder.

You can validate that VS is loading the right symbols with the Debug | Modules window.

Upvotes: 4

Related Questions