Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I single step through a VBScript 1

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
Is there a way to kick a VBScript into single step mode?

Thanks in advance for any help!

 
What do you mind with 'single step' ?

Hope This Help
PH.
 
There are two ways I can think of:

1) You could put the code into a vb app and use the VB single step feature

2) You could put msgbox between each line of code - messy, very messy

I'd go for option 1 myself

HTH
 
Use a .wsf file with <?job debug=&quot;true&quot;?>

Hope This Help
PH.
 
WScript.Exe &quot;C:\MyScript.vbs&quot; //X

The X switch informs the engine to execute the script thru the default debugger. If you don't have a debugger, head over to Microsoft and search for Script debugger.

Jon Hawkins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top