Changeset 4543 for trunk/compiler

Show
Ignore:
Timestamp:
10/28/08 15:58:54 (2 months ago)
Author:
pmoura
Message:

Updated the Logtalk built-in debugger to accept the return and enter keys as alternatives to the "c" key ("creep") when tracing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4539 r4543  
    39533953 
    39543954 
     3955'$lgt_dbg_valid_port_option'('\r', _, _) :- !. 
     3956'$lgt_dbg_valid_port_option'('\n', _, _) :- !. 
    39553957'$lgt_dbg_valid_port_option'(' ', _, _) :- !. 
    39563958'$lgt_dbg_valid_port_option'(c, _, _) :- !. 
     
    39803982 
    39813983 
     3984'$lgt_dbg_do_port_option'('\r', _, _, _, _, true). 
     3985'$lgt_dbg_do_port_option'('\n', _, _, _, _, true). 
    39823986'$lgt_dbg_do_port_option'(' ', _, _, _, _, true). 
    39833987'$lgt_dbg_do_port_option'(c, _, _, _, _, true). 
     
    40804084'$lgt_dbg_do_port_option'(h, _, _, _, _, _) :- 
    40814085    write('    Available options are:'), nl, 
    4082     write('        c - creep (go on; you may use also the spacebar)'), nl, 
     4086    write('        c - creep (go on; you may use also the spacebar, return, or enter keys)'), nl, 
    40834087    write('        l - leap (continues execution until the next spy point is found)'), nl, 
    40844088    write('        s - skip (skips debugging for the current goal; only meaningful at call and redo ports)'), nl,