From cac90b570e73e4e2f726b18a18001344b79f8340 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Sat, 12 Feb 2022 23:54:48 -0500 Subject: [PATCH] win,debug: add missing jl_refresh_dbg_module_list call Because we might not have synchronized the list again yet. --- src/debuginfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debuginfo.cpp b/src/debuginfo.cpp index a5c77de320803..de02b06139935 100644 --- a/src/debuginfo.cpp +++ b/src/debuginfo.cpp @@ -1100,6 +1100,7 @@ static int jl_getDylibFunctionInfo(jl_frame_t **frames, size_t pointer, int skip static IMAGEHLP_LINE64 frame_info_line; DWORD dwDisplacement = 0; uv_mutex_lock(&jl_in_stackwalk); + jl_refresh_dbg_module_list(); DWORD64 dwAddress = pointer; frame_info_line.SizeOfStruct = sizeof(IMAGEHLP_LINE64); if (SymGetLineFromAddr64(GetCurrentProcess(), dwAddress, &dwDisplacement, &frame_info_line)) {