[Lazarus] (Local) variable value hints

Martin Frb lazarus at mfriebe.de
Wed Jun 7 14:01:31 CEST 2017


On 06/06/2017 20:54, Mark Morgan Lloyd via Lazarus wrote:
> Bearing in mind things like the %H hint that Lazarus uses to suppress 
> warning messages, is there anything comparable that can be applied to 
> a variable so that when the IDE pops up a value during debugging it 
> will always be shown in a certain format?
>
> ..
> end else begin
>   euCount := cardEsu;
>   euVector := sysEuVector <=== THIS ONLY MEANINGFUL AS HEX OR BINARY
> end;
> Assert(euCount * euVector > 0, 'Bad EU count or vector');
>
The easiest way is to use the watch window.

Watches can IIRC be configured via their properties.


More information about the Lazarus mailing list