views:

1422

answers:

6

Visual Studio 2008 comes with nice javascript debugging features.

But I have played a little with NetBeans debugger wich has installed an ugly Script Debugger from Microsoft to my IE... Normally IE should ask what do I want to use for debugging, but now I can't start debugging with Visual Studio, the Script Debugger is started automatically... After uninstalling the Script Debugger I can't debug in IE at all. Even attaching to iexplore.exe process doesn't helps...

Has installed the Script Debugger again... :(((((

How can I get back my Visual Studio debugging working in IE again?

+4  A: 
Jon Erickson
That was the first thing that i've did...
masterik
A: 

How to debug Windows Script Host, VBScript, and JScript files. Especially

make sure that the following registry key is set to 1: HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug

ax
+4  A: 

I have the same problem. It's not quite resolved yet, but I'll share what I have.

To let IE see the debugger again do this: 1. Open Visual Studio. 2. Go to Tools > Options > Debugging > Just-In-Time. 3. Enable Script checkbox, click OK. 4. Close Visual Studio.

Now when I try to debug it opens Visual Studio but gives this error: "Unable to attach to the crashing process. An error occurred that usually indicates a corrupt installation (code 0x80040155). If the problem persists, repair your Visual Studio installation via 'Add or Remove Program' in Control Panel."

When I get back in the office tomorrow I'll try repairing Visual Studio.

sjbotha
I changed settings in Visual Studio and now it works! I don't get the error you mentioned about.... But I have installed Script Debugger before again...
masterik
A: 

i tried both the things still it shows same error

Dixita gada
A: 

If you use a global error handler window.onError, this handler prevents JS errors from being caught and IE does not asks if we want to debut with VS.

As another alternative, you can attach VS to IE process, then put breakpoints within any JS script that is available in resources view. VS should display (Script,x86) next to IE process in process list, if script is not in list it means that you haven't properly unchecked "Disable script debugging" as mentioned by @Jon Erickson

blindpotatoes
A: 

IE (7) Tools -> Manage Add-ons -> Enable or Disable Add-ons...: Disable the troubling debuggers.

Param