![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to debug a vbscript/ show each line BEFORE execution and with var values? Is there an easy way to debug a vbscript in such a way that each line of the vbscript is shown step-by-step just before the actual execution with the resolved variable values? In the former DOS batch scripts there was a command like echo on which does exactly this. Is there a similar debug-enabling command in VBscript? I don't want to install a full IDE for tracing and debugging. Just output at the command line would be sufficient. Tony |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to debug a vbscript/ show each line BEFORE execution and with var values? "Tony Bansten" <tonytony@xxxxxx> wrote in message news:49c8a867$0$30221$9b4e6d93@xxxxxx-online.net... Quote: > Is there an easy way to debug a vbscript in such a way that each line of > the vbscript > is shown step-by-step just before the actual execution with the resolved > variable values? > > In the former DOS batch scripts there was a command like > > echo on > > which does exactly this. > > Is there a similar debug-enabling command in VBscript? > > I don't want to install a full IDE for tracing and debugging. > Just output at the command line would be sufficient. > > Tony > strategically placed wscript.echo "Executing . . ." statement in your code. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to debug a vbscript/ show each line BEFORE execution and with var values? "Tony Bansten" <tonytony@xxxxxx> schrieb Quote: > Is there an easy way to debug a vbscript in such a way that each line of > the vbscript > is shown step-by-step just before the actual execution with the resolved > variable values? microsoft.public.scripting.vbscript is the better place to ask. This is a VB".Net" (2002-2008) group. Armin |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to debug a vbscript/ show each line BEFORE execution and with var values? "Armin Zingler" <az.nospam@xxxxxx> wrote in message news:uvQ%237OHrJHA.3792@xxxxxx Quote: > "Tony Bansten" <tonytony@xxxxxx> schrieb Quote: >> Is there an easy way to debug a vbscript in such a way that each line of >> the vbscript >> is shown step-by-step just before the actual execution with the resolved >> variable values? > > microsoft.public.scripting.vbscript is the better place to ask. This is a > VB".Net" (2002-2008) group. > > Armin microsoft.public.scripting.vbscript. |
My System Specs![]() |
| | #5 (permalink) |
| | Re: How to debug a vbscript/ show each line BEFORE execution and withvar values? On Mar 24, 5:31*am, tonyt...@xxxxxx (Tony Bansten) wrote: Quote: > Is there an easy way to debug a vbscript in such a way that each line of the vbscript > is shown step-by-step just before the actual execution with the resolved variable values? > > In the former DOS batch scripts there was a command like > > echo on > > which does exactly this. > > Is there a similar debug-enabling command in VBscript? > > I don't want to install a full IDE for tracing and debugging. > Just output at the command line would be sufficient. > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: How to debug a vbscript/ show each line BEFORE execution and with var values? If you have any MS Office products, you can use the VBA IDE to debug your script. "Tony Bansten" <tonytony@xxxxxx> wrote in message news:49c8a867$0$30221$9b4e6d93@xxxxxx-online.net... Quote: > Is there an easy way to debug a vbscript in such a way that each line of > the vbscript > is shown step-by-step just before the actual execution with the resolved > variable values? > > In the former DOS batch scripts there was a command like > > echo on > > which does exactly this. > > Is there a similar debug-enabling command in VBscript? > > I don't want to install a full IDE for tracing and debugging. > Just output at the command line would be sufficient. > > Tony > |
My System Specs![]() |
| | #7 (permalink) |
| | RE: How to debug a vbscript/ show each line BEFORE execution and with Tony, VB for dotnet and VB script in generally share the same language code (It are two different dialects). However, by instance the possibilities to debug are much different, so what is your question is it about vbscript or about VB Net? "Tony Bansten" wrote: Quote: > Is there an easy way to debug a vbscript in such a way that each line of the vbscript > is shown step-by-step just before the actual execution with the resolved variable values? > > In the former DOS batch scripts there was a command like > > echo on > > which does exactly this. > > Is there a similar debug-enabling command in VBscript? > > I don't want to install a full IDE for tracing and debugging. > Just output at the command line would be sufficient. > > Tony > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Fyi: Command line values - admin | General Discussion | |||
| VBScript Debug | VB Script | |||
| how to debug vbscript? | VB Script | |||
| Current Line of Execution in C# | PowerShell | |||
| VBScript question - low values | VB Script | |||