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.
Debugging issues
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Oct 23, 2009 3:13 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugging issues
is your code using 'fork' by any chance?
What happen if you debug it from the command line?
Eran
What happen if you debug it from the command line?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Oct 23, 2009 3:13 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugging issues
No fork, and I assume you mean gdb, it works fine.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugging issues
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
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