[Lazarus] Debugging error in Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 30 10:26:26 CEST 2009


On Wed, 30 Sep 2009 16:24:14 +0800
Paul Ishenin <ip at kmiac.ru> wrote:

> Graeme Geldenhuys wrote:
> 
> > I'm trying to do debugging in the IDE again - my normal process is
> > outputing data to a log file. Anyway, I am getting the following
> > error evaluation error. Is this something I'm not doing right, or
> > simply one of the many GDB+Pascal limitation.
> 
> Expression evaluation is not implement by lazarus yet.
> SizeOf(something) is an expression (moreover a function call).

SizeOf is computed at compile time to a constant. It is not a function.

I can write a function that asks the codetools for every identifier in
an expression. Then the debugger can try to evaluate it.

Mattias




More information about the Lazarus mailing list