Replies: 4 comments 1 reply
-
I'm not sure what has changed in 11 that caused this issue. Still, I think the best way to do this is to access the model API directly, as in this response: #4174 (comment). The UI installs listeners on that model, so if anything asks the model to refresh, the UI will update, too. The posted example tries to capture a lot of alternatives. Let me know if you'd like some help paring it down. |
Beta Was this translation helpful? Give feedback.
-
I previously implemented that suggestion within my plugin in order to get the registers to refresh. And that worked fine, and that still works fine. However the traces do not refresh. For example, when I skip to a new execution point with my plugin, the registers refresh but the traces do not refresh until I select the Stack object and refresh. |
Beta Was this translation helpful? Give feedback.
-
Ah, got it. Needed to change the dynamic trace to "Track Program Counter (by Register)" |
Beta Was this translation helpful? Give feedback.
-
Thanks for those solutions. I appreciate it! |
Beta Was this translation helpful? Give feedback.
-
Please refer to closed issue #4174
I'm back to this same question for Ghidra11, which no longer has getDebuggerObjectsProvider. I have tried:
But that does not do the refresh. I notice that in the Objects window of the debugger, selecting "Threads" and doing "refresh" does not work either. I must select "Stack" of the thread. Any suggestions on how to do this with in my plugin?
Beta Was this translation helpful? Give feedback.
All reactions