Bug 197386 - Focus is not on thread that hit breakpoint in Debug View
Summary: Focus is not on thread that hit breakpoint in Debug View
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 23:50 EDT by Ewa Matejska CLA
Modified: 2020-09-04 15:25 EDT (History)
0 users

See Also:


Attachments
Example Project (3.19 KB, application/x-gzip)
2007-07-20 23:51 EDT, Ewa Matejska CLA
no flags Details
Screenshot of focus problem. (161.02 KB, image/png)
2007-07-20 23:52 EDT, Ewa Matejska CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ewa Matejska CLA 2007-07-20 23:50:44 EDT
Hi,

I found an example where the thread focus in the Debug View does not seem intuitive.  My breakpoint has been hit in a child thread, yet the focus is still on the main thread.

To reproduce:
1. Import the attached project.
2. Set a breakpoint at the beginning of the print_message_function.
3. Start a gdb/mi debug session.
4. Keep stepping until you step over the pthread_join call.
5. Notice that the breakpoint in the child thread has been hit and the callstack appears like in the screenshot attached.  The focus seems incorrectly to be on Thread[1] instead of Thread[2] where the breakpoint has been hit.

Thank You,
Ewa.
Comment 1 Ewa Matejska CLA 2007-07-20 23:51:25 EDT
Created attachment 74287 [details]
Example Project
Comment 2 Ewa Matejska CLA 2007-07-20 23:52:34 EDT
Created attachment 74288 [details]
Screenshot of focus problem.