Disable script debugging option does not stick

S

Stu Carter

ENV: Windows 2003, IE6 6.0.3790.0.

Hi,

As a developer, I regularly debug JavaScript by attaching to IE. However,
if the "Disable script debugging" option (in Tools->Options->Advanced) is
checked, then Visual Studio cannot do anything. So anyway, I have to
uncheck the settting, restart IE and I can debug - fine.

But when I restart IE again, the setting has gone back to being checked!!
It is driving me nuts! Why does this keep being reset? How can I make it
stick?

Thankyou,
Stuart
 
G

Guest

It sounds as if the registry isn't getting updated for one reason or another.

The registry path is Hkey_Current_User\Software\Microsoft\Internet Explorer\Main\Disable Script Debugger

You could try changing it manually.

Make sure you close all instances of IE and any other programs that are using IE before you open a new instance to test it.

If it doesn't work, take another look at the registry key and see if it was reset. If so, try rebooting into Safe Mode, make the change, and then test it again. If it works, try rebooting back into normal mode and see if it still works.

These are just work a rounds. You need to figure out what is preventing the registry from accepting edits? Are you an administrator on the machine? Any policies in affect? Any 3rd party apps interfering. If it works in Safe Mode, then I would suspect a 3rd party application is interfering.

Alex Scott [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Stu Carter

Thanks for your help Alex.

I tried the suggestions and then used RegMon from Systinternals to monitor
the key. Turns out something else I had installed reset it on startup
(Netcaptor - "Suppress Javascript errors" option).

Sorry for taking your time as it was not IE :)

Cheers,
Stu

Alex Scott said:
It sounds as if the registry isn't getting updated for one reason or another.

The registry path is Hkey_Current_User\Software\Microsoft\Internet
Explorer\Main\Disable Script Debugger
You could try changing it manually.

Make sure you close all instances of IE and any other programs that are
using IE before you open a new instance to test it.
If it doesn't work, take another look at the registry key and see if it
was reset. If so, try rebooting into Safe Mode, make the change, and then
test it again. If it works, try rebooting back into normal mode and see if
it still works.
These are just work a rounds. You need to figure out what is preventing
the registry from accepting edits? Are you an administrator on the machine?
Any policies in affect? Any 3rd party apps interfering. If it works in Safe
Mode, then I would suspect a 3rd party application is interfering.
Alex Scott [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.

Stu Carter said:
ENV: Windows 2003, IE6 6.0.3790.0.

Hi,

As a developer, I regularly debug JavaScript by attaching to IE. However,
if the "Disable script debugging" option (in Tools->Options->Advanced) is
checked, then Visual Studio cannot do anything. So anyway, I have to
uncheck the settting, restart IE and I can debug - fine.

But when I restart IE again, the setting has gone back to being checked!!
It is driving me nuts! Why does this keep being reset? How can I make it
stick?

Thankyou,
Stuart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top