Go to documentation repository
Axxon PSIM officially supports Microsoft Visual Studio 2005 debugger.
Axxon PSIM allows using third-party debuggers for processing JScript scripts. These programs may have the functionality that is not included in the Editor-Debugger utility, for example, step-by-step script execution, watching script variables during script execution, and so on.
Note
You must use third-party debuggers with caution, as they don't provide full compatibility with Axxon PSIM. The use of third-party debuggers may lead to failure of Axxon PSIM.
We strongly recommend introducing the breakpoint in the script when using third-party debuggers. To insert the breakpoint, add the debugger; command to the script. The script execution will pause at the place specified by the debugger; command, and the debugger will start automatically.
Note
In programming, a breakpoint is a deliberate interruption of program execution at which a debugger call is made.
When you use a third-party debugger, scripts can be started with test events only.
To start the script using a third-party debugger, do the following:
Example. A script with the breakpoint after Macro 1 starts.
if (Event.SourceType== "MACRO" && Event.SourceId=="1" && Event.Action == "RUN"); //start Macro 1 { debugger; // breakpoint DebugLogString ("Hello world"); }