aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/debug.frt
blob: 3fc07ce3181f7b0d1ae7787a0b2c0b8725cd7f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
\ Gerry dlf 31.8.2012 "Single Step Debugging.."
\ modified: prints a debug prompt. Exits the
\ debug mode when entering an empty line

\ more usage examples can be found at the cookbook
\  http://amforth.sf.net/recipes

82 buffer: debugbuf
: (?) cr ." debug> " debugbuf dup 80 accept ; 
: ?? begin (?) dup while (evaluate) repeat 2drop ; 
\ maybe add a special debug wordlist