diff --git a/src/dbg_engine/dbg_engine_core.c b/src/dbg_engine/dbg_engine_core.c index 28beeb9f..cd7da78e 100644 --- a/src/dbg_engine/dbg_engine_core.c +++ b/src/dbg_engine/dbg_engine_core.c @@ -149,6 +149,7 @@ d_line_list_copy(Arena *arena, D_LineList *list) { D_LineNode *dst_n = push_array(arena, D_LineNode, 1); MemoryCopyStruct(dst_n, src_n); + dst_n->v.file_path = push_str8_copy(arena, dst_n->v.file_path); dst_n->v.dbgi_key = di_key_copy(arena, &src_n->v.dbgi_key); SLLQueuePush(dst.first, dst.last, dst_n); dst.count += 1; diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index 2bc32d62..480cf85c 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -3818,7 +3818,9 @@ rd_window_frame(RD_Window *ws) { rd_cmd(RD_CmdKind_FindCodeLocation, .file_path = lines.first->v.file_path, - .cursor = lines.first->v.pt); + .cursor = lines.first->v.pt, + .vaddr = 0, + .process = ctrl_handle_zero()); } ui_ctx_menu_close(); }