Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Conker on February 19, 2014, 12:16:28 am

Title: How to set debugee in gdb
Post by: Conker on February 19, 2014, 12:16:28 am
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  ?
Title: Re: How to set debugee in gdb
Post by: oBFusCATed on February 19, 2014, 01:12:35 am
Have you tried to set the Project -> Properties -> Build target -> Output filename?
Title: Re: How to set debugee in gdb
Post by: Conker on February 19, 2014, 12:28:54 pm
Great.That works, thanks.