fix over-ambitious thread selection in frontend

This commit is contained in:
Ryan Fleury
2024-10-17 12:43:32 -07:00
parent ae3a43c694
commit a202999655
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16357,7 +16357,7 @@ rd_frame(void)
//////////////////////////// ////////////////////////////
//- rjf: no selected thread? -> try to snap to any existing thread //- rjf: no selected thread? -> try to snap to any existing thread
// //
if(ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread) == &ctrl_entity_nil) if(!d_ctrl_targets_running() && ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread) == &ctrl_entity_nil)
{ {
CTRL_Entity *process = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->process); CTRL_Entity *process = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->process);
if(process == &ctrl_entity_nil) if(process == &ctrl_entity_nil)
+1 -1
View File
@@ -6,7 +6,6 @@
// //
// [ ] fix quote input in quoteless watch window value editors // [ ] fix quote input in quoteless watch window value editors
// //
// [ ] per-target stdout/stderr file output paths
// //
// [ ] double click on breakpoints/watch-pins/etc. to go to location // [ ] double click on breakpoints/watch-pins/etc. to go to location
// [ ] auto view rule templates (?) // [ ] auto view rule templates (?)
@@ -533,6 +532,7 @@
// [x] post-@msgs TODOs: // [x] post-@msgs TODOs:
// [x] ensure the following issues are resolved with this new pass: // [x] ensure the following issues are resolved with this new pass:
// [x] debugger readme pass // [x] debugger readme pass
// [x] per-target stdout/stderr file output paths
//////////////////////////////// ////////////////////////////////
//~ rjf: Build Options //~ rjf: Build Options