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.



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to