Home > Visual Studio > Breakpoint Not Working Silverlight

Breakpoint Not Working Silverlight


Not sure how it is with SL 4 and VS 2010, but I don't think things have changed all that much. And now my Task manager is also showing Visual Studio Remote Debugging Monitor from the X64 folder. The impression that other browsers don't work usually comes from problems of Visual Studio with connecting to the right process (what you describe in "Solution Three"). Nothing works. news

Does anyone have any other ideas? After changing one thing the breakpoints stopped working) silverlight visual-studio-2010 silverlight-4.0 share|improve this question edited Jun 6 '12 at 17:55 John Saunders 138k20179324 asked Apr 25 '10 at 19:14 Grayson Mitchell No symbols have been loaded for this document.” - .pdb loaded from wrong place?1ASP.NET: The breakpoint will not currently be hit. You should see a prompt asking you if you want to debug Silverlight...select Yes :) Nishank wrote re: My Silverlight Breakpoints are not being hit….How To Resolve this on 07-16-2010 2:47 check these guys out

Visual Studio 2015 Debug Silverlight

When you are attaching debugger to 'iexplorer' process click on the "Select" button, near "Attatch To" option and then select "Silverlight" code type. In order for ME (and please note you may have a different end result than I did here) was to do the following. I'm not sure what causes it. Finally, I deleted the hidden solution user options (.suo) file as mentioned here by Paul and after that things came to normal.

  • People ask this several time in different forums.
  • If so, what am I missing in order to get this to work?
  • You have to manually attach to the Silverlight process.
  • View All Notifications Email : * Password : * Remember me Forgot password?
  • exactly my thoughts.
  • The debugger not only works with all other browsers, but with any process that hosts the Silverlight runtime.
  • I end up having to clear the browser cache after every run, which is annoying, so I end up using IE to debug, which pains me since it's such an awful
  • It would be nice if F5 just worked, but I'm not sure how it could without the browser helping the debugger determine which process was the right one.
  • Sometimes it would help to clean the solution and rebuild everything, multiple times.

All contents are copyright of their authors. From my experience, the SL client didn't always compile right, or at all, so I'd end up with source code that was newer than what is running. Thanks again. –cplotts Jun 18 '10 at 15:17 add a comment| up vote 1 down vote As of September 2011 with Firefox 6, you need to configure Firefox if you want How To Debug Silverlight Application In Visual Studio 2010 share|improve this answer answered Dec 7 '10 at 12:20 dbush 115111 add a comment| up vote 3 down vote Also see the debugger to a silverlight process http://msdn.microsoft.com/en-us/library/cc838267(VS.95).aspx If that doesn't

thank you.. :) –Abdur Rahman Oct 6 '12 at 12:57 add a comment| up vote 0 down vote I had this sample problem a few weeks ago; that's when I learned No symbols have been loaded for this document-2the breakpoint will not currently be hit. If not, attach the process of the Silverlight application to the IE and this could load the breakpoint now.Solution FourIf you are still facing the same issue after following the above no symbol have been loaded in dll in c++0breakpoint will not be hit no symbols have been loaded for vs website1The breakpoint will not currently be hit.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Debugging Silverlight In Visual Studio 2013 thanks!ReplyDeleteravi rampariyaJune 15, 2013 at 9:54 PMThank you very much....ReplyDeleteRepliesKunal ChowdhuryJune 15, 2013 at 10:16 PMYou are welcome :)DeleteReplyAnonymousJune 27, 2013 at 6:05 PMI followed the second solution.Thank you very much Then select "Debug these code types" option and select "Silverlight" checkbox and Click OK. So I thought that after the FF starts I can load the page from IE or Chrome.

How To Debug Silverlight Application In Visual Studio 2012

It is looking in the right path (..\debug), but there is no dll present. Then Click attach button. Visual Studio 2015 Debug Silverlight silverlight viewmodel share|improve this question asked Dec 29 '10 at 18:57 KRSogaard 1,06022154 add a comment| 7 Answers 7 active oldest votes up vote 6 down vote accepted I found that Visual Studio 2015 Silverlight Debugging Not Working no symbols have been loaded for this document VS 2010 and VS 20120breakpoint will not currently be hit.

There is some random middle version of IE that won't load correctly either. navigate to this website It should now hit the breakpoints you've set without you having to change your default browser or attaching to a specific process. I'm using the development server of the VS so I don't have IIS to reset. –Koynov Jun 30 '10 at 8:52 did you attach to the process running silverlight, Can Newton's laws of motion be proved (mathematically or analytically) or they are just axioms? How To Debug Silverlight Application In Visual Studio 2015

This cause wrong line match while debugging or can't find a debugging file attached caution. Related 3Silverlight 3 Beta, NavigationService in the ViewModel1Debugging Silverlight Applications5How do you debug Silverlight applications with Chrome AND hit breakpoints?10Debugging silverlight application problem2Silverlight 3 breakpoints not hit when launching external program1Silverlight Is RandomGraph really random? More about the author Condition 2> Follow In Menu Debug => Attach Debugger> Visual Studio sometimes can't attach debugging platform you need to lead the way :) .

Let's work to help developers, not make them feel stupid. How To Debug Silverlight Application In Visual Studio 2013 Code ladder, Robbers more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Isn't the BBC being extremely irresponsible in describing how to authenticate an account-related email?

This will open the web settings window in the right panel Scroll the Window down until you see the "Debuggers" group (as shown above) There the checkbox for "Silverlight" should be

Scroll down and check the Silverlight option in Debugger section. How do I handle this? How to find x and y coordinates based on the given distance? Silverlight Debugging Tools The breakpoint definitions are maintained in .suo -try debug again3.

Do you need your password? It also works for me.. Yusuf 18-Mar-11 12:04pm Well, you stated "everything", which is catch-all phrase, it seems you have tried this http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx but have you tried this http://boxbinary.com/2010/04/debugging-silverlight-in-visual-studio-breakpoints-not-being-hit/ John Simmons / outlaw programmer http://haiteq.com/visual-studio/debug-breakpoint-not-working-visual-studio.php share|improve this answer answered Feb 18 '11 at 11:04 Kornelis 383 add a comment| up vote 2 down vote Here's what worked for us with Internet Explorer 9 Start the project

Go to Solution Explorer, Right click on the Silverlight's hosting project (xxxx.web), Click on Properties, Click on Silverlight Application: If Silverlight project has not been added, add it here. The result is the .pdb file no longer matches with the compiled assy for one or more projects.Things we do to get working again:1. That was to attach the debugger to the browser. Not the answer you're looking for?

share|improve this answer answered Feb 9 '12 at 21:40 Kenneth W 5111 I had everything setup properly already and was using IE to debug. Should I trust a website which breaks when I use a complex password? The case of the Maid, the Son and the Butler Can a giant spoon be utilised as a weapon Issues converting Raster to Polygons in R Effect of bootstrapping in amplifier Join them; it only takes a minute: Sign up The Breakpoint will not currently be hit: No symbols have been loaded for this document up vote 19 down vote favorite 6

For whatever reason it had quit working and breakpoints weren't being hit.