Debugging a Macro Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Scripting Editor > Macros >

Debugging a Macro

You can debug a macro using an installed debugger. To do this, click the dropdown icon of the Authentic View tab (screenshot below) and toggle on the option Run Scripts in Debug Mode.




From now on, whenever a macro is triggered from Authentic View, the macro will be run in a debugger that you select. If you are running scripts outside StyleVision, say, for example, in Authentic Browser, and wish to run the script in debugger mode, check the Run Authentic Scripts in Debug Mode Outside StyleVision check box, which is in the Authentic tab of the Properties dialog (accessed with the File | Properties command).


This pops up the Just-In-Time Debugging dialog (screenshot below), which lists the debuggers available on the machine. Select the debugger you wish to use and click Yes.




The selected debugger starts.


© 2019 Altova GmbH