Community
Participate
Working Groups
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.
Created attachment 74287 [details] Example Project
Created attachment 74288 [details] Screenshot of focus problem.