PRB: Cannot Debug a .pac File from Visual InterDev (274356)
The information in this article applies to:
- Microsoft Internet Explorer 5.5 for Windows NT 4.0
- Microsoft Internet Explorer 5.01 for Windows NT 4.0 SP 1
- Microsoft Internet Explorer 5.5 for Windows 2000
- Microsoft Internet Explorer 5.01 for Windows 2000 SP 1
- Microsoft Visual InterDev 6.0
This article was previously published under Q274356 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
When you try to attach the Visual InterDev debugger to a .pac file, the .pac file does not appear in the Running Documents list.
CAUSE
This problem is caused by how Microsoft JScript interacts with a debugger that attaches to Internet Explorer.
RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
To resolve this problem, you must set the following registry key for Just-In-Time (JIT) debugging to work with JScript version 5.1 or later:
HKEY_CURRENT_USER/Software/Microsoft/Windows Script/Settings
This key contains a value called JITDebug. Set the value of this key to 1. If the JITDebug key does not exist, you can add it as a decimal DWORD in the Settings key. In addition, give the appropriate users read permissions on this key.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
252895 PRB: VBScript 'Stop' Statement Does Not Start Script Debugger
269827 PRB: VBScript 'STOP' Statement in .wsc Components Does Not Start Script Debugger When Called from ASP
Modification Type: | Major | Last Reviewed: | 5/29/2003 |
---|
Keywords: | kbBug kbDebug kbprb KB274356 |
---|
|