Welcome to MSDN Blogs Sign in | Join | Help

Notes from a dark corner

Debugging ASP.NET, the CLR and anything that uses clock cycles.

News

  • These postings are provided as is with no warranties, and confers no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
Script debugging not hitting breakpoints in Visual Studio 2005

I had a curious case recently where a customer was unable to get script debugging to work in Visual Studio 2005. By not work, I mean we could set breakpoints but they were just never hit. It was like the debugger wasn't listening. In the end this was one of those problems where we just sort of stumbled upon the solution.  I did a remote session with the customer to look at their desktop, saw the problem happening and then started to look at the browser configuration.  When the browser or things related to it start misbehaving, it is always a good idea to disable as many add-ins, popup blockers, toolbars etc and see if the problem still occurs. If it does not, re-enable half of them and see if the problem comes back. If it does, disable half of that half and see if the problem goes away again. If it does etc etc. By process of elimination you find the problem add-in.

In this case the thing that was stopping script debugging from working was the SSVHelper browser helper object (BHO) which is part of the Sun Java Runtime package:

 

Strange thing is that although disabling it on the customer's system allowed script debugging to work again, on my system I have the same thing and script debugging works fine. We never got to the root cause on this one, just had to put it down as "one of those things".

Cheers

Doug

Posted: Wednesday, March 21, 2007 11:15 AM by dougste
Filed under:

Comments

rahulso said:

To quickly check if an add-on is your problem: Right-click on the Internet Explorer 7 icon and select "Start without Add-ons"

If you don't find IE 7 icon on your desktop, do the following...

On Windows XP -- From the Display Properties select the Desktop Tab -- then Customize Desktop -- you'll find the Internet Explorer check-mark.

On Windows Vista -- From the Appearance and Personalization section select Personalization -- in the top left corner click "Change Desktop Icons"

Regards,

Rahul

# April 8, 2007 2:04 AM

dougste said:

Thanks for the tip Rahul, very useful!

# April 10, 2007 5:48 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker