On 13 September 2011 16:52, Hans-Peter Diettrich  wrote:
> That's why Delphi normally checks for changed values only when a breakpoint
> is hit, not on every instruction.

That makes no sense at all!  A watchpoint should trigger as soon as
that data referenced by some memory address changes. Then you can use
the call stack to see what code changed that data. That's the whole
point of watchpoints.

If you only check the data at some other arbitrary breakpoint, the
stack trace will be useless by the time the debugger tells you the
data changed.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to