Adding properties into existing stabs/dwarf; gdb readable workaround ? [[Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]]

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Sep 13 04:42:30 CEST 2011


DaWorm schrieb:
> I don't understand why a property with a getter could ever be ran by a 
> debugger.  If I have a property called NextValue, implanted by a method 
> called GetNextValue, that increments a field, stores it in a database, 
> and returns the new value, I absolutely do not want the debugger to 
> execute that even if I'm dumb enough to try to ask it to view that 
> property.

Right, property getters can have side effects, like all procedures. 
That's why I already suggested an hint on property declarations, telling 
which data item should be displayed for the property.

DoDi




More information about the fpc-devel mailing list