Page 1 of 1

Debugging issues

Posted: Fri Oct 23, 2009 3:19 pm
by Remagen
When I'm debugging code, I will often scroll my mouse up to click into/next line etc but suddenly the debugger disattaches from the process.

The executable that I was debugging is still running, but I can't see any variables/watches, nor can I step through the code. If I restart the debugger, the old instance of the program is still running. This will happen several times in a row, a few seconds after I launch the program, and is extremely frustrating for me.

Any suggestions? I'm on ubuntu linux.

Re: Debugging issues

Posted: Fri Oct 23, 2009 3:26 pm
by eranif
is your code using 'fork' by any chance?

What happen if you debug it from the command line?

Eran

Re: Debugging issues

Posted: Fri Oct 23, 2009 4:11 pm
by Remagen
No fork, and I assume you mean gdb, it works fine.

Re: Debugging issues

Posted: Fri Oct 23, 2009 4:59 pm
by eranif
Which version of codelite?

Enable full debugger logging from 'Settings >Debugger Settings"

Next, debug your appliction, when it happens again, paste here the output of the 'Debug' tab

Eran