[Lazarus] (Local) variable value hints

Martin Frb lazarus at mfriebe.de
Wed Jun 7 15:56:32 CEST 2017


On 07/06/2017 14:42, Mark Morgan Lloyd via Lazarus wrote:
>
> 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.
>

Generally yes, but depends how...

A simple integer could (in the hint) be shown in dec and hex. (the hint 
has plenty of space for an integer.)
But in other windows that may not be wanted. The column of the watch 
window has less space, so showing both (without the user requesting) may 
be too much.

The hint is interactive, so there could be options added to the hint, 
and the hint could remember (based on type, type and name, or 
type/name/context).

That is if someone wants to implement it.



More information about the Lazarus mailing list