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 ?
Have you tried to set the Project -> Properties -> Build target -> Output filename?
Great.That works, thanks.