Skip to content

Commit c31b155

Browse files
committed
ensure threads match before visualizing call stack frame selection
1 parent 4dfa4a1 commit c31b155

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/raddbg/raddbg_views.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,8 +3016,9 @@ RD_VIEW_UI_FUNCTION_DEF(watch)
30163016
{
30173017
UI_Box *box = ui_build_box_from_stringf(UI_BoxFlag_Clickable, "###%I64x_%I64x", cell_id, row_hash);
30183018
sig = ui_signal_from_box(box);
3019-
if(row_info->callstack_unwind_index == rd_regs()->unwind_count &&
3020-
row_info->callstack_inline_depth == rd_regs()->inline_depth)
3019+
if(ctrl_handle_match(row_info->callstack_thread->handle, rd_base_regs()->thread) &&
3020+
row_info->callstack_unwind_index == rd_base_regs()->unwind_count &&
3021+
row_info->callstack_inline_depth == rd_base_regs()->inline_depth)
30213022
{
30223023
UI_Parent(box) UI_Flags(0) UI_TextAlignment(UI_TextAlign_Center)
30233024
{

0 commit comments

Comments
 (0)