trying to figure out how to get a better stack trace without needing to include the PDB file for end users, came up with this very simple change
on windows I just include libloaderapi.h then add this to "print_header"
os << " (base address: " << GetModuleHandle(NULL) << ")";
with this information it makes it possible to resolve the source files/line numbers from the printed addresses even if the dump itself was missing those
trying to figure out how to get a better stack trace without needing to include the PDB file for end users, came up with this very simple change
on windows I just include libloaderapi.h then add this to "print_header"
os << " (base address: " << GetModuleHandle(NULL) << ")";
with this information it makes it possible to resolve the source files/line numbers from the printed addresses even if the dump itself was missing those