User forums > Using Code::Blocks

How to set debugee in gdb

(1/1)

Conker:
Can someone please tell me how to set custom executable as debugee in gdb ? I'm using .make file to build executable , then copy it into other place and run it from there.
Manually attaching debugger to running process is working fine, with source breakpoints and stuff. So I wonder if there is a way to specify in the CodeBlocks gui the path of debugee, so I wont need to manually attach to the process and just run it with simple Debug command  ?

oBFusCATed:
Have you tried to set the Project -> Properties -> Build target -> Output filename?

Conker:
Great.That works, thanks.

Navigation

[0] Message Index

Go to full version