Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 274870 - [debug view][non-stop] Thread lists doesn't always get updated
Summary: [debug view][non-stop] Thread lists doesn't always get updated
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 14:11 EDT by Marc Khouzam CLA
Modified: 2011-05-17 11:52 EDT (History)
1 user (show)

See Also:


Attachments
Program to reproduce problem (1.37 KB, text/x-c++src)
2009-05-04 14:11 EDT, Marc Khouzam CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2009-05-04 14:11:22 EDT
Created attachment 134282 [details]
Program to reproduce problem

When running the attached program and stopping on main, there is a single thread in the debug view.  That is ok.  But if I resume the program without adding a bp anywhere, I still only see one thread, while there are actually two or three running.  If I press the Refresh button of the debug view, if fixes things.

There may be a missing event.
Comment 1 Marc Khouzam CLA 2009-05-21 11:12:08 EDT
This may be caused by GDB.  In some cases, GDB will only refresh threads if we request a thread list.  This was to avoid too many thread events.

One can follow the discussion at:
http://sourceware.org/ml/gdb/2009-05/msg00068.html
Comment 2 Marc Khouzam CLA 2011-05-17 11:52:59 EDT
I just tried this again and it works.  I'm not sure which change fixed it, but we're ok.