Script debugging broken

OK, I've seen reference to this problem, so I'm know I'm not alone, but can't find a solution. I had MS Script Debugger install along with VS2005. Don't know why I installed MS SD, (don't like it, don't use it) and used VS2005 to debug javascript code in IE6.x (upgrading to IE7 is not an option). Yesterday everything was work fine -- I was used VS to attach the IE process, found the script in question in the Script Explorer, could set breakpoints, etc. etc. etc.

Today, different story. I put a debugger statement in so I could look at some new stuff I just wrote, but when IE hit the statement it launched MS SD! (Yesterday, it at least gave me the option of using VS). OK, no problem I figure, I'll just go to VS and attach the IE process again and all will be well -- no joy. I can attach the process, but the Script Explorer window remains empty. Futher, IE still launched the MS SD. Great, I'll just uninstall MS SD and everything will be fine, right? Wrong.

After uninstalling MS SD I now have NO debugging options in IE, it ignores the debugger statement, and when I get a java run-time erorr (i.e. var q = nosuchobject.badmethodname()Wink, all I get is the yellow triangle error icon in the lower left corner. Yes indeed, I have 'disable scirpt debugging' under tools/internet options/advance UNchecked. Same behavior from VS2005 as before when attaching the IE process.

Hmmm. IE seem to refuse to share errors with me now.

Any solution to this problem (yes, I rebooted after the uninstall)? Re-installation is not really an option.

Thanks

[2126 byte] By [Anonymous] at [2008-1-9]
# 1

I'm having a similar problem trying to get a script debugger to attach to Internet Explorer 7. I originally just assumed that IE7 didn't support the older debuggers, but as I was browsing the Microsoft site to look for a solution, I finally got the familiar "Do you wish to debug?" prompt on a Microsoft download page.

Yet, on the page I'm developing, nothing I do will get a debugger to launch. I've tried multiple versions to no avail, and in-line statements have no effect.

Can anybody explain why the debugger will work for some sites but not for others?

Thank you.

Renaissance2K at 2007-10-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 2

This must not a problem for many.

I've now attempt to reinstall IE6, but that didn't seem to fix the debugger problem. Still can't break into a debugger (at all now -- either MSSD or VS2005). My next attempt will be to re-install VS2005 and see what happens.

Otherwise, I'm a new Firefox/Firebug user.

Anonymous at 2007-10-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 3
I'm also having problems with IE7 debugging javascript. When I click "Yes" in the dialog that pops up when I get a javascript error nothing happens. Same thing when I go View > Script Debugger > Open.

Using 7.0.5730.11

Noodles25 at 2007-10-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 4

Too bad to hear that it's still broke with IE7 -- not that we will be going there anytime soon. We must be the only ones that are having this problem, considering the lack of repsonse. IE6 had started a new trick on me now -- it refuses to give ANY time of error at all. Prior to yesterday I was at least getting the 'Do You Want To Debug' message (not that selecting YES did anything productive). Now IE6 just stops processing the script without any indication at all.

Thankfully, I've writting a little debug function and window that I can pop messages into.

I think short of a complete re-build of my machine, I'm totally hosed. (And Firefox doesn't seem to work in our development environment either)

Arrrrrrgh!

Anonymous at 2007-10-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 5

I'm also having problems debugging script in IE7. When I click on View/Script Debugger/Open, I get a prompt to select a debugger. I chose "New instance of Visual Studio .NET 2003". Visual Studio prompts me with "Attach to Process" and "Script" selected. When I click OK I get message "The source code can not be displayed". However, if I chose to debug with a "New instance of Microsoft Script Editor" everything works OK. Surely Microsoft must have a fix for this problem by now!

bugsy2 at 2007-10-3 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...