I've used to put a "stop
" statement in my VBScript/ASP-Classic code to break into debugger (Microsoft Script Editor, that comes with Microsoft Office).
But now it isn't breaking anymore. The "stop
" is ignored and nothing happpens.
The server-side debugging flag is already enabled in IIS
How to solve this?
Sample Code, hello.asp
stop
Response.Write "Hello W."
Best Answer
Are you running VBScript in an Office app? Wouldn't that be VBA?
For VBScript debugging you need to enable that with the /d switch on with wscript or cscript when running the vbs file:-
Edit: Did I miss the ASP-Classic bit?
In this case you have turned off debugging in the application configuration. In IIS6 open properties on the ASP application, select Home Directory tab, click "Configuration..." in the Application Settings section. Select the Debugging tab, select the debugging flags.