mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 13:28:40 +00:00
snap to thread on stop on all windows, not just focused
This commit is contained in:
@@ -15397,6 +15397,7 @@ Z(getting_started)
|
|||||||
//- rjf: thread finding
|
//- rjf: thread finding
|
||||||
case RD_CmdKind_FindThread:
|
case RD_CmdKind_FindThread:
|
||||||
for(RD_WindowState *ws = rd_state->first_window_state; ws != &rd_nil_window_state; ws = ws->order_next)
|
for(RD_WindowState *ws = rd_state->first_window_state; ws != &rd_nil_window_state; ws = ws->order_next)
|
||||||
|
RD_RegsScope(.window = ws->cfg_id)
|
||||||
{
|
{
|
||||||
DI_Scope *scope = di_scope_open();
|
DI_Scope *scope = di_scope_open();
|
||||||
CTRL_Entity *thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->thread);
|
CTRL_Entity *thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->thread);
|
||||||
@@ -15469,6 +15470,7 @@ Z(getting_started)
|
|||||||
}break;
|
}break;
|
||||||
case RD_CmdKind_FindSelectedThread:
|
case RD_CmdKind_FindSelectedThread:
|
||||||
for(RD_WindowState *ws = rd_state->first_window_state; ws != &rd_nil_window_state; ws = ws->order_next)
|
for(RD_WindowState *ws = rd_state->first_window_state; ws != &rd_nil_window_state; ws = ws->order_next)
|
||||||
|
RD_RegsScope(.window = ws->cfg_id)
|
||||||
{
|
{
|
||||||
CTRL_Entity *selected_thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread);
|
CTRL_Entity *selected_thread = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread);
|
||||||
rd_cmd(RD_CmdKind_FindThread,
|
rd_cmd(RD_CmdKind_FindThread,
|
||||||
|
|||||||
Reference in New Issue
Block a user