[Lazarus] (Local) variable value hints

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Jun 7 15:42:39 CEST 2017


On 07/06/17 12:15, Martin Frb via Lazarus wrote:
> 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.--

Yes, but I was thinking about the case when a value pops up unbidden 
during normal stepping-through.

Can the default witching format be changed? Hex might be more appropriate.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


More information about the Lazarus mailing list