Opened 13 years ago

Closed 12 years ago

#4430 closed bug (fixed)

Debugger does not notice thread name changes

Reported by: anevilyak Owned by: anevilyak
Priority: normal Milestone: R1
Component: Applications/Debugger Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


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.

Change History (6)

comment:1 by bonefish, 13 years ago

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.

comment:2 by anevilyak, 12 years ago

Version: R1/pre-alpha1R1/Development

comment:3 by anevilyak, 12 years ago

Owner: changed from bonefish to anevilyak
Status: newin-progress

comment:4 by anevilyak, 12 years ago

Resolution: fixed
Status: in-progressclosed

Kernel/API portion implemented in hrev39846 and Debugger side in hrev39847. Comments/review welcome.

comment:5 by anevilyak, 12 years ago

Resolution: fixed
Status: closedreopened

Reopened pending refactoring/rewrite of the previous changes.

comment:6 by anevilyak, 12 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in hrev39866.

Note: See TracTickets for help on using tickets.