Answered by:
I can't debug my silverlight application anymore

Question
-
Hi
I can't debug my silverlight application anymore! No breakpoint is hit when I run the web application as I used to do. Breakpoints take a warning sign saying that no symbols were loaded. It all worked nicely before, what I can do to make it work? I got no debugger errors, app runs fine.
I though it could be an website I created in IIS 5 to use IIS hosting, but I get along with VS development server. Now I deleted this website.
Another thing is, as I use chrome as the default browser, I tried to switch to IE, then I made so. But even restarting VS and Windows, VS always launches chrome! Why is that?
I'm using Visual Studio 2010 RC on Windows XP SP3, using VS dev server, Silverlight 3. I already cleaned browser's cache, cookies, etc, and reset VS settings.
TIA
Would you mind marking as answer or vote as helpful, please? It helps getting the network better.
twitter.com/awerlang
programmernotfound.blogspot.comFriday, March 26, 2010 2:43 PM
Answers
-
Hello,
Please open you module window (Debug -> Windows -> modules) and check if pdb file for silverlight project is loaded.
By default, Visual Studio will automatically search the path where the silverlight dll is located. But in case you have a symbol server, you could tell Visual Studio where to find the pdb files by right click the module name and select Symbol Settings. If your module is from FCL, you need to configure Visual Studio to load symbols from Microsoft symbol servers, that's a different story. Currently, you could follow the detail steps here to specify a symbol path. If it persists, please provide a screen shot of the modules window for further discuss.You need to set IE as the Default browser. Please right click a .aspx page and select Browse With in context menu, select Internet Explorer browser on the left and then click Set as Default button.
Best regards
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
Welcome to the All-In-One Code Framework!- Marked as answer by André Werlang Monday, March 29, 2010 11:47 AM
- Marked as answer by André Werlang Monday, March 29, 2010 11:48 AM
Monday, March 29, 2010 3:14 AM
All replies
-
Hello,
Please open you module window (Debug -> Windows -> modules) and check if pdb file for silverlight project is loaded.
By default, Visual Studio will automatically search the path where the silverlight dll is located. But in case you have a symbol server, you could tell Visual Studio where to find the pdb files by right click the module name and select Symbol Settings. If your module is from FCL, you need to configure Visual Studio to load symbols from Microsoft symbol servers, that's a different story. Currently, you could follow the detail steps here to specify a symbol path. If it persists, please provide a screen shot of the modules window for further discuss.You need to set IE as the Default browser. Please right click a .aspx page and select Browse With in context menu, select Internet Explorer browser on the left and then click Set as Default button.
Best regards
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
Welcome to the All-In-One Code Framework!- Marked as answer by André Werlang Monday, March 29, 2010 11:47 AM
- Marked as answer by André Werlang Monday, March 29, 2010 11:48 AM
Monday, March 29, 2010 3:14 AM -
Hi
Thanks, setting IE as default browser this way worked. I didn't know that.
Thanks again!
Would you mind marking as answer or vote as helpful, please? It helps getting the network better.
twitter.com/awerlang
programmernotfound.blogspot.comMonday, March 29, 2010 11:47 AM -
You are welcome:)
Cheers!
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
Welcome to the All-In-One Code Framework!Tuesday, March 30, 2010 1:50 AM -
I had issues with this too, which were basically because an old version of the XAP was stuck in the browser cache. Workaround described at:
https://sites.google.com/site/hackingdotnet/home/debuggingsilverlightwithchrome
Jimmy
Sunday, August 8, 2010 5:35 PM -
Path is not valid
Kasim HusainiWednesday, November 3, 2010 7:45 AM -
broken link
The Bunny did math well.Saturday, February 26, 2011 9:24 PM -
Hi,
I found solution here:
http://msdn.microsoft.com/en-us/library/cc838267%28v=vs.95%29.aspx
Love is forever!
- Proposed as answer by SaigonIT Saturday, December 15, 2012 7:42 AM
Saturday, December 15, 2012 7:39 AM