How to make Qt's debugger show memory address of locals and Expressions
-
This is such a fundamental part of debuggin. But I cannot for the life of me figure out how to make Qt's debugger show the the address of the Locals and Expressions!.
I see the name of the variable, the value and type. But where is the dang address!?
When I right click it gives me options to see variables as a raw pointer. But When I use it, nothing happens.
-
What OS do you use?
I just checked QtCreator debugger on Linux and it shows the pointers (@0x87654321)
If I change view to "Raw pointer" then it adds a parent to the variable with the same name and address (0x87654321) -
I am using Mac.
Here's a screen shot of the debugger. I'm wondering if it only shows the address on heap allocated objects. The ones that are missing are locally scoped.
-
right click -> Use Tooltips in Locals View When Debugging