MAINSAIL Utilities User's Guide, Chapter 2

previous   next   top   contents   index   framed top   this page unframed


2. CALLS, Call Chain Examiner

Command line syntax: calls {coroutineName}

The utility MODULE CALLS prints out the call chain of the specified coroutine (the current coroutine if none specified). PRNTCO may be used to display the existing coroutines. The output is similar to that produced by the CALLS response to the Error response prompt.

Example 2–1. Sample CALLS Output
FRAMEHDR ADR DECIMAL OFFSET MODULE.PROCEDURE (most recently called 1st)
------------ -------------- ----------------
     '
H54D30         332    CALLS.INITIALPROC
     '
H54D70       83840    $KERMOD.$NEWDATASEC
     '
H54DA8       18812    $MAINEX.$INVOKEMODULE
     '
H54E08       54820    EDIT.ESCAPEFROMEDITOR
     '
H54E28       11692    MAINED.DOLETTERE
     '
H54E58       31688    MAINED.EXECUTECOMMANDS
     '
H54EB8       31448    EDIT.DOEXECUTECOMMANDS
     '
H54EE8       48628    UCREX.ECMD
     '
H54F08      199864    UCREX.$INVOKEPROC
     '
H54F40        1272    CMDPRC.CALLPROCS
     '
H54F80      112816    UCREX.PROCESSCOMMAND
     '
H54FA8      113164    UCREX.COMMANDLOOP
     '
H54FE8      114504    UCREX.RUNUCREX
     '
H55010      114560    UCREX.INITIALPROC
     '
H55038       83840    $KERMOD.$NEWDATASEC
     '
H55070       18812    $MAINEX.$INVOKEMODULE
     '
H550D0       54820    EDIT.ESCAPEFROMEDITOR
     '
H550F0       11692    MAINED.DOLETTERE
     '
H55120       31688    MAINED.EXECUTECOMMANDS
     '
H55180       31448    EDIT.DOEXECUTECOMMANDS
     '
H551B0       34384    EDIT.INVOKEEDITOR
     '
H55258        1100    EDIT.INITIALPROC
     '
H55290       83840    $KERMOD.$NEWDATASEC
     '
H552C8       18812    $MAINEX.$INVOKEMODULE
     '
H55328       19268    $MAINEX.EXECUTEMODULE
     '
H55358       20636    $MAINEX.$MAINSAILEXEC
     '
H55388      118092    $KERMOD.RUNMAINSAIL
     '
H55398       15404    $KERMOD.INITIALPROC

See the description of DISASM in Chapter 5 of the MAINSAIL Compiler User's Guide for instructions on how to find the correspondence between decimal offsets in a MODULE and source code for a non-debuggable MODULE.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Utilities User's Guide, Chapter 2