Changeset 3128
- Timestamp:
- Aug 3, 2012 11:10:03 PM (10 months ago)
- File:
-
- 1 edited
-
forth/lib/debug.fth (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
forth/lib/debug.fth
r2914 r3128 119 119 ." Q Quit: abandon execution of the debugged word" cr 120 120 ." V Visual: toggle between 2-D and scrolling" cr 121 ." L Visual: redisplay" cr 121 122 ; 122 123 d# 24 constant cmd-column … … 142 143 \ : to-result-loc ( -- ) result-loc at-xy ; 143 144 : save-result-loc ( -- ) #out @ to result-col #line @ to result-line ; 144 : to-result-loc ( -- ) result-col result-line at-xy;145 : to-result-loc ( -- ) result-col result-line 2dup at-xy #line ! #out ! ; 145 146 146 147 \ set-package is a hook for Open Firmware. When Open Firmware is loaded, … … 188 189 d# 78 rmargin ! 189 190 .debug-short-help 191 d# 70 rmargin ! 190 192 ." Callers: " rp0 @ the-rp na1+ rslist kill-line cr 191 193 d# 40 rmargin ! … … 236 238 save# 237 239 begin 240 setup-debug-display 238 241 step? @ if to-debug-window then 239 242 show-debug-stack … … 270 273 ascii \ of show-rstack @ 0= show-rstack ! false endof \ toggle return stack display 271 274 ascii X of hex-stack @ 0= hex-stack ! false endof \ toggle heX stack display 275 ascii L of true to redisplay? false endof \ Redisplay 272 276 ascii V of \ toggle Visual (2D) mode 273 277 scrolling-debug? 0= to scrolling-debug? … … 285 289 ip@ to the-ip 286 290 rp@ to the-rp 287 setup-debug-display288 291 debug-interact 289 292 \ scrolling-debug? 0= if to-result-loc then
Note: See TracChangeset
for help on using the changeset viewer.
