Monday, October 8, 2012

Symbols not loading for Silverlight app on VS 2010

Symbols not loading for Silverlight app on VS 2010

Hi I have a silverlight application pointing to Silverlight 3. I use VS 2010 Ultimate. When i run it in debug mode or attach to process, break points will be highlighted with yellow exclamations saying symbols are not loaded. I tried the solution given here: http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/7bf5a77b-c30d-4674-a8fc-c8fe46ce676b

It points to a pdb file on Framework's temp folder and says Symbols loaded. I tried to load the symbols manually by going to Symbol Settings. Even that did not help. Any idea how to fix?

Answers & Comments...

Answer: 1

Another step to take when Silverlight debugging doesn't work is to clear the cache of the browser.

Also make sure the properties in the web project hosting silverlight has silverlight debugger enabled. Web -> Debuggers -> Silverlight checked.

by : Einarssonhttp://stackoverflow.com/users/351879

Answer: 2

Mostly it happens due to mismatched version of Silverlight and SDK. Uninstall both, and install it. I hope that helps.

by : Rahul Sonihttp://stackoverflow.com/users/215324

Answer: 3

I don't know why this works but this is how i got it working.

I went to Tools> options> debugging

unchecked "Require source files to exactly match the original version"

by : Amithttp://stackoverflow.com/users/147613

Answer: 4

You can try starting a new instance.

Right click to Web Project, select Debug, Start a new Instance.

by : keremhttp://stackoverflow.com/users/128002

Answer: 5

What worked for me:

  1. Remove the Silverlight project from my Web project
  2. Clear the Browser Cache for IE
  3. Go to the folder where IE stores its cache and delete Silverlight*.js
  4. Add the Silverlight project reference back to my Web project
  5. Rebuild and start debugging
by : Andre Glennhttp://stackoverflow.com/users/1695013




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog