diff --git a/source/lib/sysdep/win/wdbg.cpp b/source/lib/sysdep/win/wdbg.cpp index 3f3027f929..281703858a 100755 --- a/source/lib/sysdep/win/wdbg.cpp +++ b/source/lib/sysdep/win/wdbg.cpp @@ -625,7 +625,9 @@ static long CALLBACK except_filter(EXCEPTION_POINTERS* except) { base = (uintptr_t)mbi.AllocationBase; if(GetModuleFileName((HMODULE)base, module_buf, sizeof(module_buf))) - module = strrchr(module_buf, '\\'); + module = strrchr(module_buf, '\\')+1; + // GetModuleFileName returns fully qualified path => + // trailing '\\' exists }