[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What debugger breakpoint features would you like?
From: |
Thien-Thi Nguyen |
Subject: |
Re: What debugger breakpoint features would you like? |
Date: |
Fri, 01 Feb 2002 11:17:32 -0800 |
From: Neil Jerram <address@hidden>
Date: 01 Feb 2002 16:30:05 +0000
- An optional thunk that is called when the breakpoint is hit.
thunk return value could be specified to control flow:
#<unspecified> -- do the normal thing
#f -- go interactive
#t -- do step (or whatever)
(pk ARGS...) -- emulate `pk' (display ARGS and value after evaluation)
(warn TEST MSG . SUBST) -- TEST value (after evaluation),
if true, emit MSG and use SUBST value
positive number -- do step multiple times
negative number -- do something else
etc
also, thunk access to its "##-site" could allow self-replacement.
thi
Re: What debugger breakpoint features would you like?, Alex Shinn, 2002/02/01