mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-19 20:50:09 -08:00
implement 'priority thread' in demon, to prefer debug events from selected thread - greatly improves multithreaded stepping
This commit is contained in:
1 parent
db52ba32e6
commit
6e6a2df0cb
4 files changed
+73
-39
No files matched your search
@@ -5870,6 +5870,7 @@ ctrl_thread__run(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
|
||||
//- rjf: setup run controls
|
||||
//
|
||||
DMN_RunCtrls run_ctrls = {0};
|
||||
run_ctrls.priority_thread = target_thread.dmn_handle;
|
||||
run_ctrls.ignore_previous_exception = 1;
|
||||
run_ctrls.run_entity_count = frozen_threads.count;
|
||||
run_ctrls.run_entities = push_array(scratch.arena, DMN_Handle, run_ctrls.run_entity_count);
|
||||
|
||||
Reference in new issue
Block a user