[hatari-devel] Conditional breakpoint code, please comment!
npomarede at corp.free.fr
npomarede at corp.free.fr
Fri Jul 3 22:24:49 CEST 2009
On Fri, 3 Jul 2009, Eero Tamminen wrote:
> Hi,
>
> I just commited a version where this doesn't anymore give a warning:
> - The right side inherits the bit width (here ".b") from the left side
> (and vice verse)
> - As mask is not set, it's derived from the bit width
>
> [...]
>
> I think this is acceptable. It's much nicer to get sometimes (an obviously)
> redundant warning than debug for a long time something where one
> accidentally gave a breakpoint that can never be triggered...
>
Just tested the new version, and the behaviour seems better this way,
thanks.
One last thing I was thinking about (for now !) is to save all
breakpoints' environment into the memory snapshot.
This way, when debugging a complicated program, it would be possible to
save the breakpoints into the snapshot and exit hatari, and then to reload
it later to resume work in the same context.
Nicolas
More information about the hatari-devel
mailing list