Manages a breakpoint from directive.
•BP 0: Turns off all breakpoints
•BP n O: Turns off breakpoint n
•BP n mode object op [cond] [-TS] [-R] [-V]
Syntax |
BP 0 BP n O BP n mode object op [cond] [-TS] [-R] [-V] |
---|---|
n |
Number of breakpoints (1÷4). If n = 0 disables everything and nothing else is needed |
mode |
Operating mode of the breakpoint. Can be: O, R, U n, A n. •Off (O) = disable •Run (R) = active •Upto n (U n) = active for n successive occurrences, then inactive •After n (A n) = activates after n successive occurrences |
object |
Unit on which to activate the breakpoint. Can be: •ADDR val = Memory address (corresponds to U8) •LINE t n = Line, t -> task, n -> number of steps •R idx = Index of a volatile integer register •RR idx = Index of a volatile real register •NVR idx = Index of a nonvolatile integer register •NVRR idx = Index of a nonvolatile real register •AM idx = Index of the alarm mask •VL t n = Local variable, t -> task, n -> variable name •U8 addr = Memory address of a byte-accessible variable •I8 addr = Memory address of a byte-accessible variable •U16 addr = Memory address of a word-accessible variable •I16 addr = Memory address of a word-accessible variable •U32 addr = Memory address of a dword-accessible variable •I32 addr = Memory address of a dword-accessible variable •FLOAT addr = Memory address of a variable accessible as float •DOUBLE addr = Memory address of a variable accessible as a double •P parameter_name •P axis_parameter_name (idx) |
op |
Type of operation. Can be: F, W, A. •Fetch (F) = execute •Write (W) = write •Access (A) = write/read |
cond |
Accessory condition to WRITE and ACCESS operation type. (optional) •EQ val = EQual •NE val = Not Equal •LT val = Less Than •LE val = Less or Equal •GT val = Greater Than •GE val = Greater or Equal •MS_EQ mask val = mask equal •MS_NE mask val = mask not equal |
-TS |
Enables task stop (if task of type main). (optional) |
-R |
Saves the state of the processor registers (optional) |
-V |
Inserts the information of the task that caused the breakpoint to be triggered into the report (optional) |
Notes |