Opened 9 years ago

Closed 8 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:
Has a Patch: no Platform: All

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.

Change History (6)

comment:1 Changed 9 years ago by bonefish

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 Changed 8 years ago by anevilyak

Version: R1/pre-alpha1R1/Development

comment:3 Changed 8 years ago by anevilyak

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

comment:4 Changed 8 years ago by anevilyak

Resolution: fixed
Status: in-progressclosed

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

comment:5 Changed 8 years ago by anevilyak

Resolution: fixed
Status: closedreopened

Reopened pending refactoring/rewrite of the previous changes.

comment:6 Changed 8 years ago by anevilyak

Resolution: fixed
Status: reopenedclosed

Fixed in hrev39866.

Note: See TracTickets for help on using tickets.