User forums > Using Code::Blocks

Debugger - Memory dump

<< < (2/2)

Pecan:

--- Quote from: Evan on March 14, 2024, 08:50:26 pm ---Sorry, but I'm using Linux Mint.

--- End quote ---

My error. You do not need the -d startup option.
You can still copy any item in the debuggers log.

See below using Linux Mint.

Evan:
I got this.

Pecan:
Good.
After a breakpoint has occurred, hover over the variable for which you want an address. If you've set the option that requires the ctrl key to be tapped, do so.
The elements of the variable should then appear in the debuggers log to copy/paste.

Depending on the GDB version being used, for the first attempt to display the expression (variable or whatever), the GDB may be quite slow. After the first display, the subsequent evaluations/displays will be much faster.

Evan:
Thanks, really appreciated.  :)

Navigation

[0] Message Index

[*] Previous page

Go to full version