Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interactive Debugging a Aspect Script?

Status
Not open for further replies.

papollo

Programmer
Oct 19, 2001
71
US
Hi:

Is there a Interactive Debugger in Aspect?
Many other lanuages have interactive debuggers.

I want to run a script one line at a time and look at the variables.

Thanks
 
If you compile a debug script, you can use Ctrl-Break to bring up the ASPECT debugger. You can also place a breakpoint command at the appropriate location in your script to launch the debugger (the script must be compiled in debug mode for this command to be recognized).

To create a debug script, open the ASPECT Editor, select the Tools | Compiler Options menu item, check the Compile for debug checkbox, press OK to save your changes, then recompile your script (this assumes that you are using the ASPECT Editor to write your script). If you are not using the ASPECT Editor, you can run ASPCOMPW.EXE (the ASPECT compiler) with a /Z flag to create the debug script.
aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top