| |||
| Home > Model Debugger Scripting Functions > Model execution control > getStopCond() | |||
string getStopCond()
Return a message string that describes the reason for the last stop condition if the simulator is currently in the stopped state. The string format depends on the reason for the stop condition:
For a PC breakpoint, the string describes the stop condition, the source file, and the line number such as, for example:
Disassembly breakpoint is hit - address: 0x00008018
General stop conditions might return one of NORMAL
USER STOP, TERMINATE, HALT, EXCEPTION, ERROR,
or INVALID OPCODE.