User forums > Using Code::Blocks
Debugger - Memory dump
Evan:
Happy Code::Blocks user here running Linux Mint LMDE programming in C99:
When I use Memory dump, I have to type the memory address I want look at in the Memory dump window.
How can I copy/paste the memory address, from the Watch window to the Memory dump window?
Thanks in advance.
Pecan:
See if this works.
Try running CodeBlocks with the -d option to show the debuggers log. You can copy from the log by marking the address, right clicking, and selecting "copy selection".
Evan:
I assume you mean the -d option can be set as an argument in debugger default settings. If so, I can't see any address.
My debugger log:
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: /home/evan/Desktop/C/DB/
Adding source dir: /home/evan/Desktop/C/DB/
Adding file: /home/evan/Desktop/C/DB/bin/Debug/DB
Changing directory to: /home/evan/Desktop/C/DB/.
Set variable: LD_LIBRARY_PATH=.:
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -d -args /home/evan/Desktop/C/DB/bin/Debug/DB
Setting SHELL to '/bin/sh'
done
Setting breakpoints
Debugger name and version: GNU gdb (Debian 13.1-3) 13.1
Child process PID: 103102
Pecan:
@evan
No, I mean the "CodeBlocks.exe -d " option flag.
Or /d for windows. Run "codeblocks /?" for into.
My error. The debuggers log is there wether the -d options is used or not.
Evan:
Sorry, but I'm using Linux Mint.
Navigation
[0] Message Index
[#] Next page
Go to full version