Skip to content

Commit

Permalink
win,debug: add missing jl_refresh_dbg_module_list call
Browse files Browse the repository at this point in the history
Because we might not have synchronized the list again yet.
  • Loading branch information
vtjnash committed Feb 13, 2022
1 parent 0c44d23 commit cac90b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/debuginfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit cac90b5

Please sign in to comment.