STEP
'. ' . , • "'.!ii""
S
Q
" PSD
RSD
BRK
CLRBRK VERB'
UNCOM
TERSE,DEBUGG~NG~PACKAG~;'
STEP,' NNNN < 1'1 "
,PREPARE TODEBIJG "VERB ~. NAMED r','NHIl1II'V~,:J ,THEI'VERB" i,: ABOUlrd" , TO·1BEi71 :? ,:, EXECUTEDW I LL BEPR I NTED • . , ! ' .. , . I
'EXECUTE ONE'INSTRUCT ION ( ONE : PASS 'THROUGH·' 'THE 1.NNER"
INTERPRETER ).
EXECUTE THE ENT I RETY OF THE, VERB ABOUT TO' BE ,EXECUTE.D.
Nota: Q pfacastha b~aak~o1~t ~o1nt~~.ttha ad~ Z, +1 that~
i ntarpreter. pointer. Verbs that use. the .. Znd word as data Or ai, '" "
Jump address ( IF ,ELSE 'CASE LX T ) wi 11 ncit ! work .. No8.ctu8.1 chanqe in th.m.m6,..~ '·,1 Cleati o~ is made ( PROM proqramS c::an', kle,: . ".
debYc;Jc;Jed this ",Ia..",), but note that -th., proqralTi ,is ac'tuall..":,, be i nc;J s.tep'~ed an instruct i on at ' I a timet when i n ' Q Or:",
breakpoint mode.
LIST THEI CONTENTS OF ,THE en'tire PARAMETER STACK.
I I LIST THE CONTENTS OF TI-IE en't i re RETURN ,STACK.
n BRK
SET A BREAKPOINT AT THE SPECIFIED ~DDRESS.
, Ex&mp Ie:: ~ TESTPROG 1
+
BRKSet a br~akpoint at t h e ¥ i r s t instruction o¥ TESTPROG ( note skippinc;J the header b.."te ).
Clear breakpoint.
nVERB
Dis~la.." the name o¥ the verb whose ,code start adr is n. Ve,..~~.
ha,nd\l !
n UNCOM
. Uncompi 1 e ( 1 i st ) the verb, comp i led a.t adr n ~
I NNNN - - - n
'~eturn the begin Q¥ code ~dr o¥ verb NNNN. (-Part o¥ s\lstem verbs )
INTERACTIVE DEBUGGER· Paqe 2
PS
RS
BM
- - - n
Returns
itne va
1ue of' tne parameter' stack· po inter-. ( same as ., SP@ ).
n
Returns tne value of' tne
r-etu~nstadk
pointer-~*** FLAGS AND COUNTERS ***
VARIABLE. BREAK MODE.
o - STOP EXECUTION ON ENCOUNTERING BREAKPOINT.
1 -
PRINTS1ATUS ON ENCOUNTERING BREAKPOINT AND CONTINUE EXECUTION.
DFG VARIABLE. DISPLAY MODE FLAG.
o - NO DISPLAY AFTER INSTRUCTION EXECUTED.
1 -
DISPLAY ONLY INSTRUCTION TO BE EXECUTED.
2 -
Displa~parameter stack, ver-b about to be executed, and.
top of' retur-n stack ( I ). (
2is def'au
1 tva
1ue ) DISPLAY FORMAT:
[ . . . stktopva
1ue
JVERB= NNNN [ 1=
n ]SCT 'liar
i abIe. Step count. Norma
11 'J,set
1'00.BPNT IBRK
Set to tne number of' instructions to be executed bef'or-e contr-ol returns to user.
Variable. Curr-ent interpreter- pointer used
b~debuqqer.
Variabl~.