only retry findthread given missing debug info or RIP if ctrl thread is stopped

This commit is contained in:
Ryan Fleury
2024-01-30 06:33:16 -08:00
parent f130f23b3f
commit fe5f38c306
+2 -2
View File
@@ -2154,8 +2154,8 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
df_cmd_list_push(arena, cmds, &params, df_cmd_spec_from_core_cmd_kind(DF_CoreCmdKind_FindCodeLocation));
}
// rjf: retry on pending debug info
if(dbg_info_pending || missing_rip)
// rjf: retry on stopped, pending debug info
if(!df_ctrl_targets_running() && (dbg_info_pending || missing_rip))
{
df_push_cmd__root(&params, df_cmd_spec_from_core_cmd_kind(DF_CoreCmdKind_FindThread));
}