Initializing help system before first use

Debugger commands

Breakpoints:
break  delete  bcond[ition] breakpoints breaksub
Model execution:
cont  next  step  finish  model
Output:
display undisplay list print info exportprob
lsattr lslibs lslocal lsmods lssymb
Stack access:
up  down  where
Interpreter options:
option
Termination:
quit

Example: Simple debugging sequence

mosel debug debugexpl.mos         Start Mosel debugger
break 20                          Set breakpoint at line 20
cont                              Execute up to the breakpoint
print D                           Print out symbol 'D'
cont                              Continue model execution
info Arr                          Information about model object 'Arr' (e.g. size)
lsmods                            Display model info (e.g. memory usage)
quit                              Quit the debugger

Example: Debugging a submodel

mosel debug debugmaster.mos       Start Mosel debugger
breaksub 1                        Stop at start of submodels
cont                              Execute up to the breakpoint
break 25 debugsub.mos             Set breakpoint in the submodel
display SNumbers                  Display watch on object 'SNumbers'
cont                              Execute up to the breakpoint
break 31 debugsub.mos             Another submodel breakpoint
bcond 2-2 SNumbers.size < 10      Condition on 2nd submodel breakpoint
cont                              Execute up to the breakpoint 2-2
quit                              Quit the debugger

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.