all groups > visual studio .net debugging > january 2004 >
You're in the

visual studio .net debugging

group:

Debugging VbScript



Debugging VbScript Jim Zeeb
1/28/2004 6:41:08 AM
visual studio .net debugging: I'm not sure how to debug a VbScript. The Start option in the Debug menu is greyed out
Re: Debugging VbScript Habib Heydarian [MSFT]
1/28/2004 8:02:21 AM
Is this a standalone VBScript file or as part of client-side script in an
ASP.NET application?

HabibH.

[quoted text, click to view]
is not a wscript task active to attach to.

Re: Debugging VbScript Jim Zeeb
1/28/2004 11:16:05 AM
Re: Debugging VbScript Habib Heydarian [MSFT]
1/28/2004 9:33:47 PM
Here're the steps for debugging a standalone script in Visual Studio.

1. Launch the script under the debugger by using the //X command line
option, for example:

C:\>wscript Test.vbs //X

2. When the Just-In-Time Debugging dialog comes up, select "New instance of
Visual Studio" and click "Yes"
3. On the "Attach to Process" dialog, check the "Script" checkbox and click
OK
4. The debugger will stop on the first line of code in your script. From
here, you can use the normal debugging features, e.g. stepping, breakpoints,
Watch window, etc.

HabibH.

[quoted text, click to view]

AddThis Social Bookmark Button