Home » Language IDEs » C / C++ IDE (CDT) » Hitting breakpoint freezes UI in Ubuntu, requiring reboot(Hitting breakpoint freezes UI in Ubuntu, requiring reboot)
| |
| Re: Hitting breakpoint freezes UI in Ubuntu, requiring reboot [message #1718839 is a reply to message #1718830] |
Wed, 30 December 2015 19:07   |
Eclipse User |
|
|
|
David Vavra wrote on Wed, 30 December 2015 20:48There is a gdb log when debugging with Eclipse. What does it say?
Where can I find this log file?
David Vavra wrote on Wed, 30 December 2015 20:48Try running another debugger (say, ddd) and see what happens. They key, of course, is to eliminate variables. Try running with gdb alone.
Eclipse sometimes gets lost at a breakpoint presumably trying to load variable values. However, I've never lost UI control when this happens but have had to terminate the run or sometimes terminate Eclipse.
Is the machine frozen or is focus being held (sans cursor) somewhere? One advantage to running with two machines is the ability to ssh in and at least kill the running program. Can also be done from an Android phone. Saves having to reboot.
The machine is not frozen (when I power it down, I see the normal shutdown processing). The UI is truly buggered, so mouse moves but clicks do nothing. Some keys function but not enough to operate Eclipse or change to a different window.
I don't understand what a 2nd machine will help with - I still can't debug?
David Vavra wrote on Wed, 30 December 2015 20:48Unfortunately, submitting a bug doesn't mean anyone will act on it or even acknowledge its existence.. There are bugs listed that have been outstanding since forever. sometimes, though they are quietly corrected without a response in Bugzilla.
It's one of the problems with free open source: you are really on your own.
Ironically, I'm trying to contribute to another open source project, but blocked by this...
If I have some time I'll attempt to use gdb directly but its been some years...
Thanks for the reply,
Best Regards, Dave
|
|
| |
| Re: Hitting breakpoint freezes UI in Ubuntu, requiring reboot [message #1718871 is a reply to message #1718843] |
Thu, 31 December 2015 07:49   |
Eclipse User |
|
|
|
Hi Dave,
reading your report I'd like to raise a couple of simple points, hope it helps. First, from what you say it's only Eclipse that it's frozen, not the machine. If so, there is no need to reboot it, just kill eclipse from the console 
Now I've seldom utilised gdb inside eclipse, so I am not very knowledgeable of using this combo. Though if the target you are debugging is rather large, then the freeze might be due to gdb attempting to load/read all the symbols in the target. To consider the size of the target, keep in mind all the dynamic libraries that are linked. To check whether this might be your case, try to run both top and gdb in a terminal, debugging your target and hitting <TAB> to set a breakpoint (for an autocompletion), it will kick off the loading of symbols.
|
|
| | |
Goto Forum:
Current Time: Thu Nov 06 19:48:12 EST 2025
Powered by FUDForum. Page generated in 0.04198 seconds
|