Skip to content

Commit a202999

Browse files
committed
fix over-ambitious thread selection in frontend
1 parent ae3a43c commit a202999

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/raddbg/raddbg_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16357,7 +16357,7 @@ rd_frame(void)
1635716357
////////////////////////////
1635816358
//- rjf: no selected thread? -> try to snap to any existing thread
1635916359
//
16360-
if(ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread) == &ctrl_entity_nil)
16360+
if(!d_ctrl_targets_running() && ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->thread) == &ctrl_entity_nil)
1636116361
{
1636216362
CTRL_Entity *process = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_base_regs()->process);
1636316363
if(process == &ctrl_entity_nil)

src/raddbg/raddbg_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
// [ ] fix quote input in quoteless watch window value editors
88
//
9-
// [ ] per-target stdout/stderr file output paths
109
//
1110
// [ ] double click on breakpoints/watch-pins/etc. to go to location
1211
// [ ] auto view rule templates (?)
@@ -533,6 +532,7 @@
533532
// [x] post-@msgs TODOs:
534533
// [x] ensure the following issues are resolved with this new pass:
535534
// [x] debugger readme pass
535+
// [x] per-target stdout/stderr file output paths
536536

537537
////////////////////////////////
538538
//~ rjf: Build Options

0 commit comments

Comments
 (0)