Starting debugger freezes my Computer

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Starting debugger freezes my Computer

Post by evstevemd »

Hi,
is there anyone who is experiencing this? When I start debugger it freezes my computer until I change tty and kill gdb. I just updated svn and recompiled CL
I'm using ubuntu Oneiric and compiling is fine and debugger worked in previous version!

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Starting debugger freezes my Computer

Post by eranif »

Do you have any log file of the debugger?
When switching tty, have you looked at 'top' to see which process is consuming CPU / IO and is responsible for the hang?
Can you provide a simple reproduction?

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Starting debugger freezes my Computer

Post by evstevemd »

eranif wrote:Do you have any log file of the debugger?
When switching tty, have you looked at 'top' to see which process is consuming CPU / IO and is responsible for the hang?
Can you provide a simple reproduction?

Eran
I'm not sure where I can find debugger log but When switching to tty, I have firefox at the top (20%) and codelite takes only 4. I have attached top log if that will help but then I don't what you mean by example, you mean a code? Debugger hangs once it gets to the first breakpoint before I do anything.

CodeLite 15.x
CodeLite is awesome, I just Love it!

DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Starting debugger freezes my Computer

Post by DavidGH »

Hi,

Does this always happen whenever you use gdb in CL, or is this one particular program with the breakpoint in one particular place? I ask because the appearance of a freeze can happen if you put a breakpoint in certain places e.g. when a menu has just opened: the mouse is captured (or maybe the window-manager just gets confused) and subsequently clicking anywhere has no effect.

Try creating a new wx-enabled executable project, and put a breakpoint somewhere unexciting e.g. the frame ctor. Does the problem still happen?

Regards,

David
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Starting debugger freezes my Computer

Post by evstevemd »

Hi Dave,
It happened regardless of where breakpoint is (when debugger just starts it is where it freezed)
After Updating SVN the problem is gone.
Thanks all for comments :)

CodeLite 15.x
CodeLite is awesome, I just Love it!

Post Reply