Debugging issues

General questions regarding the usage of CodeLite
Remagen
CodeLite Curious
Posts: 2
Joined: Fri Oct 23, 2009 3:13 pm
Genuine User: Yes
IDE Question: C++
Contact:

Debugging issues

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging issues

Post by eranif »

is your code using 'fork' by any chance?

What happen if you debug it from the command line?

Eran
Make sure you have read the HOW TO POST thread
Remagen
CodeLite Curious
Posts: 2
Joined: Fri Oct 23, 2009 3:13 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging issues

Post by Remagen »

No fork, and I assume you mean gdb, it works fine.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging issues

Post 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
Make sure you have read the HOW TO POST thread
Post Reply