PDA

View Full Version : Debugging scripts


rob_manger
05-20-2004, 07:59 PM
Hi guys,

I was just wondering whether there is any way built in to VBP to debug VBScript steps in a similar manner to an MSDEV session, ie: stepping through, watch windows etc.

Cheers

Rob Manger
robm@devtest.com

kinook
05-21-2004, 06:46 AM
VBP does not currently implement a full-fledged script debugger. What it does provide is:

1) The Script Editor has an Immediate window, which can be used to evaluate expressions, function calls, etc.

2) When an error occurs during a build or the Immediate window, as much error information as possible is logged. For well-behaved script engines (VBScript seems to be best for this), this will include the source location (including event name, script editor tab, and/or step property name if they apply), line and column number, and error description.

3) Builder.LogMessage to trace variable values and debug info when building.