Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vbscript debugger

Tags:

vbscript

I have a vbscript that works in development but not the server.

I want to debug this, but I don't want to install visual studio on the server.

What is the most lightweight way to debug this using a debugger?

like image 808
zachary Avatar asked Nov 15 '10 22:11

zachary


People also ask

How do I debug a VBScript?

Debugging VBS Scripts in Visual StudioSwitch to DIAdem SCRIPT. Open or create a VBS file. Click Use External Debugger on the toolbar. Select a line and click Insert Breakpoint F9 on the command bar.

Can you step through VBScript?

Use the Step Into, Step Over, and Step Out tools to step through your VBScript code one line at a time. Your project must already be in break mode, either by reaching a break point that you set earlier or by using the Break tool to manually enter break mode, before you can use these tools.


1 Answers

If you're referring to "classic" VBScript, i.e. .vbs files, Microsoft has a tool available called Microsoft Script Debugger that functions more or less like a Visual Studio debugging session. It's probably your most lightweight option short of adding debug statements to the code.

like image 58
Ryan Brunner Avatar answered Sep 28 '22 08:09

Ryan Brunner