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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel