debugger crash
Brought to you by:
jsadler
I was using the ficl.exe for windows which is a part of
the ficl 4.0.31 distribution.
i defined the word stars:
ok> : stars 0 do 42 emit loop ;
Then I tried to debug it:
ok> 10 debug stars
the output is:
: stars
0 0 (instruction 17)
1 do (leave 8)
3 literal 42 (0x2a)
5 emit
6 loop (branch 3)
;
S: [1] 10
next: 0 (instruction 17)
dbg> ok>
Then I entered i and ficl crashed (Windows shows a
crash message box).
It worked the same way while entering o.
What is wrong?
Thanks for help!
Detlev
Logged In: YES
user_id=1070952
This is the same operation under Mac OS X 10.3.4
ok> : stars 0 ?do 42 emit loop cr ;
ok> 18 stars
******************
ok> 10 debug stars
: stars
0 0 (instruction 17)
1 ?do (leave 8)
3 literal 42 (0x2a)
5 emit
6 loop (branch 3)
8 cr
;
S: [1] 10
next: 0 (instruction 17)
dbg> ok> i
Error: data stack underflow