Initiating debugging from MSE is only supported for script embedded in html.
You need to run you script using wscript or cscript with //X to start in the debugger or //D switch to enable the vbscript stop and jscript debugger statements to work...
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--
The whole issue on multiple dev software installs that each have script debugging capabilities can get pretty messed up. And I have never seen an clear, easy to follow instructions on how to safely and reliably restore a given debugger as the default.
FWIW, on my Win2K Pro box with MSE7 (from Office XP), VS6 EE, *and* VS.NET AE all installed, I get a dialog box that lets me choose which of the debuggers I want to use.
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--
/* ======================================================================
JScript Source File -- Created with SAPIEN Technologies PrimalSCRIPT(TM)
NAME: <filename>
AUTHOR: Alexander Riedel , SAPIEN Technologies, Inc.
DATE : 12/7/2001
COMMENT: <comment>
========================================================================= */
var shell = new ActiveXObject("WScript.Shell");
var JITDebugRoot = "HKCR\\CLSID\\{834128A2-51F4-11D0-8F20-00805F2Cd064}";
var JITDebugLocalServer32 = JITDebugRoot + "\\LocalServer32\\";
var LocalServer32;
var JITDebugProgID = JITDebugRoot + "\\ProgID\\";
var JITDebugVersionIndependentProgID = JITDebugRoot + "\\VersionIndependentProgID\\";
LocalServer32 = "C:\\Winnt\\System32\\mdm.exe";
shell.RegWrite(JITDebugProgID, "MDM.SESSPROV.1");
shell.RegWrite(JITDebugVersionIndependentProgID, "MDM.SESSPROV");
shell.RegWrite(JITDebugLocalServer32, LocalServer32);
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--
Hilde
I hope you adjusted the path written to the registry depending on what OS you run it on....