News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to set debugee in gdb

Started by Conker, February 19, 2014, 12:16:28 AM

Previous topic - Next topic

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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Conker