Re: How to debug VBS

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Michael Harris \(MVP\) ("Michael)
Date: 01/14/05


Date: Thu, 13 Jan 2005 17:25:46 -0800


> Is there a way to debug VB scripts using Just-In-Time debugger ?
> Currently, I debug VB scripts using a 3rd party editor.

Include the //X or //D host switch...

//X prompts you to debug before the first libne of the script executes.

//D enables debugging and you are prompted to debug if an unhandled error
occurs or the VBScript Stop statement (or JScript debugger statement) is
executed.

-- 
Michael Harris
Microsoft MVP Scripting 


Relevant Pages

  • Re: gpo scripts
    ... I haven't tried the if debug thing yet, but I have run rsop and according to ... that, the scripts run successfully, but the drives aren't mapped and outlook ...
    (microsoft.public.windows.server.active_directory)
  • [UNIX] More than Fourteen CGIscript.net Scripts Have Path Disclosure Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... CGIscript.net sells perl/cgi web scripts ... CGI.pm to die with an error would make the script to display the debug ... CGI.pm error occurs, including server paths, form input, and environment ...
    (Securiteam)
  • Re: cronjobs with errors in shell scripts
    ... know how to debug those scripts. ... has been sent by email to the user whose cron jobs these are. ... Add the command env to ...
    (comp.unix.shell)
  • define() failing?!?
    ... I am just new to PHP and learning the language. ... false depending on success or failure in defining the constant. ... The reason I want to use define is to define a DEBUG constant in my ... defineof debug at the top of all PHP scripts to my understanding ...
    (comp.lang.php)