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

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 13 15:03:08 CEST 2011


On 13 Sep 2011, at 14:52, Graeme Geldenhuys wrote:

> On 13/09/2011 14:33, Jonas Maebe wrote:
>>
>> No, he's saying that it should not be easy to do this accidentally. I
>> can imagine that in IDEs that evaluate everything your mouse cursor
>> happens to hoover over, automatic evaluation of getters with side
>> effects can be quite an annoyance.
>
> Again, I have not heard of a single developer complain about this in  
> any
> of the Delphi groups or forums. So I guess the "annoyance" level is  
> > 1%

Maybe that's because the evaluation of properties is disabled by  
default and you have to explicitly enable it exactly because that can  
cause side effects. At least that was apparently the case in 2006: http://www.skylark-software.com/2006/01/why-are-some-object-properties-zero-in.html


Jonas



More information about the fpc-devel mailing list