Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ide_monitor [2020/05/04 15:27] – [Debug Expression] admin | ide_monitor [2024/01/02 19:37] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//Execution Monitor// monitors the model execution progress status and allows execution of debugging scripts. The execution stats include the execution status, estimation of execution progress % and model coverage. | //Execution Monitor// monitors the model execution progress status and allows execution of debugging scripts. The execution stats include the execution status, estimation of execution progress % and model coverage. | ||
- | {{http:// | + | {{wiki:idescreen: |
---- | ---- | ||
Line 20: | Line 20: | ||
* Status - model execution status, STARTED, PAUSED, ENDED or ERRORED. | * Status - model execution status, STARTED, PAUSED, ENDED or ERRORED. | ||
- | * Virtual Users - number of virtual users (threads) specified in [[Execution | + | * Virtual Users - number of virtual users (threads) specified in //Execution |
* Running - active virtual users (threads) | * Running - active virtual users (threads) | ||
* Start Time - model execution start date and time | * Start Time - model execution start date and time | ||
Line 29: | Line 29: | ||
---- | ---- | ||
- | ==== Debug Expression | + | ==== Debug Console==== |
- | //Debug Expression// | + | |
- | The results from the script execution are displayed in JSON. | + | {{wiki: |
- | Be aware that if some of functions in //$SYS// may depend on the thread context and thus will not return the correct value since your script will be running in a new thread. Below are the list of these functions in //$SYS//: | + | //Debug Console// allows you to run scripts while the model is executing or execution is paused. |
+ | Script editor is a simplified [[ide_script | Script Editor ]]. You can run the debug scripts in the following: | ||
+ | * run line - run script on current line | ||
+ | * run selected - run selected script lines or script expression | ||
+ | * run all - run all script lines | ||
+ | |||
+ | The results from the script execution are displayed below the script editor. | ||
+ | |||
+ | Be aware that some of functions in //$SYS// may depend on the thread context and thus will not return the correct result since your script will be running in a new thread. Below are the list of these functions in //$SYS//: | ||
* getCurState | * getCurState | ||
Line 41: | Line 48: | ||
* getCurDataSet | * getCurDataSet | ||
* getCurTravUID | * getCurTravUID | ||
- | * setTransGuardHint | + | * getData |
* setCurTransSatisfyingHint | * setCurTransSatisfyingHint | ||
+ | * setTransGuardHint | ||