| Summary: | Unable to attach to a running application | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Vadym Krevs <vkrevs> |
| Component: | cdt-debug-dsf-gdb | Assignee: | Project Inbox <cdt-debug-dsf-gdb-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Marc Khouzam <marc.khouzam> |
| Severity: | normal | ||
| Priority: | P3 | CC: | pawel.1.piech |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Vadym Krevs
I tried on SLED10, 32bit and GDB 7.0.1, and it works ok for me. I was using the actual Helios release of Eclipse and of CDT. Can you try with those versions? Also, if you see the problem again, do you see the dialog window pop-up showing a list of processes to which you can attach, or does it stop even before that? I also use the actual helios release of Eclipse + CDT. I do see the list of processes, select the process I need, and then the launch hangs. (In reply to comment #2) > I also use the actual helios release of Eclipse + CDT. I do see the list of > processes, select the process I need, and then the launch hangs. Since you can actually select a process, then you must have some 'gdb traces' shown. Can you attach the traces from the 'gdb traces' console? I am not sure what you mean by "gdb traces" console - there is no such thing in Eclipse. At the time of the debug configuration launch, the "Console" view contains a single line "[Thread debugging using libthread_db enabled]", and the "Progress" view contains what I described in the bug report. (In reply to comment #4) > I am not sure what you mean by "gdb traces" console - there is no such thing in > Eclipse. > > At the time of the debug configuration launch, the "Console" view contains a > single line "[Thread debugging using libthread_db enabled]", and the "Progress" > view contains what I described in the bug report. In the console view there is a little 'TV' icon with an arrow. If you click on the arrow you can select between the different available consoles. You should see one called 'gdb traces' for your specific launch. I see. It seems that it was trying to set non-existent/invalid breakpoints and that was causing gdb to get stuck ... I deleted all breakpoints and now gdb can attach to processes again ... (In reply to comment #6) > I see. It seems that it was trying to set non-existent/invalid breakpoints and > that was causing gdb to get stuck ... That would still be a bug. It sounds similar to bug 314628. Can you still attach the 'gdb traces' where the bug happens. I didn't get gdb traces for this and I cannot reproduce it. The description sounds exactly like bug 314628 so I'm marking it as a duplicate. If you disagree, please re-open it and attach the 'gdb traces' Thanks. *** This bug has been marked as a duplicate of bug 314628 *** |