[Lazarus] Debugger output style

Martin lazarus at mfriebe.de
Thu Jun 24 14:49:48 CEST 2010


On 24/06/2010 13:25, Mark Morgan Lloyd wrote:
> Is there an easy way of telling the debugger to display a variable as 
> hex for ease of bit-twiddling? I can see that watchpoints have an 
> associated style but it's greyed out here.
>

There is a way, but more like a workaround. Doesn't work for locals, put 
works in Watches window:

Pointer(MyVar)

Btw, if you need spaces in an expression
   MyVar and 255
you actually need to quote it by hand:
   "MyVar and 255"

Include the quotes in the watches win, and it will work.






More information about the Lazarus mailing list