[fpc-devel] bounty: FPC based debugger

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 12 14:11:04 CEST 2011


On 12 Sep 2011, at 12:23, Martin wrote:

> The big issue, is that gdb often scopes them wrong, and you loose  
> the watch point before you it triggers

If you use an expression in a watch point, gdb will reevaluate that  
expression if a value used in the watch expression changes.

Since in general you don't want that, you can take the address of the  
watched value once when the watchpoint is enabled and then put a  
watchpoint on that calculated address (similar to what Martin  
Schreiber said).


Jonas



More information about the fpc-devel mailing list