Debugger does not notice thread name changes

Description

This is most easily observable by running Tracker in the debugger. When Tracker creates a window, it is initially named TrackerWindow and then updated to indicate the folder name once the PoseView is added to it, which results in BWindow also issuing a rename_thread() to match the thread name to the new window title. However, the Debugger never notices this name change and simply shows it as w>TrackerWindow the entire time.

Oldest firstNewest firstThreaded

Show commentsShow property changes

Change History (6)

This is indeed a missing feature. The debugger retrieves dynamic information about the debugged team only via the debugger API, which ATM doesn't feature any notifications for changes of thread name or priority. One could periodically poll get_thread_info() for all threads, but the more elegant solution would be to extend the debugger API, I guess.