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."
Enabling Debug ModeOn the Tools menu, click Internet Options. In the Internet Options dialog box, click the Advanced tab. In the Browsing category, clear the Disable script debugging check box. Click OK.
To start debugging, select IIS Express (<Browser name>) or Local IIS (<Browser name>) in the toolbar, select Start Debugging from the Debug menu, or press F5. The debugger pauses at the breakpoints.
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:-
wscript /d c:\myfolder\myscript.vbs
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With