problem about dbghelp-Collection of common programming errors


  • Cheeso
    c++ c stack stack-trace dbghelp
    How do I obtain a stack trace of addresses on Windows without using dbghelp.dll?I don’t need to know what the symbols or function names associated with the addresses, I just want the list of addresses — something similar to backtrace of *nix systems. Thanks!

  • Daniel Trebbien
    c++ visual-c++ pdb-files dbghelp dia-sdk
    I need to specifically filter all user imported dll’s. DIA SDK gives all modules under SymTagCompiland which includes all kernel and other imports those are not explicitly linked.I only need those dependent Dll’s(modules) which are explicitly linked at runtime or at compile time(mentioned in Linker’s Input area of project Configuration).How can I filter this?Regards, Usman

  • user1243488
    windows linker unresolved dbghelp
    For background, I have come across this porting a medium-sized linux codebase (compiling into a giant .so) to x64 windows (compiling into a .dll). I have had linker trouble.As a minimal testcase, if I create a Visual Studio project from just the following file:#include <Windows.h> #include <Dbghelp.h>void do_stuff(char const * s) {char buffer[4096];long int len = UnDecorateSymbolName(s,buffer,sizeof(buffer),UNDNAME_COMPLETE); }And I set the project type to DLL and build it, I get an

  • Cheeso
    c++ c winapi stack-trace dbghelp
    I use Jochen Kalmbach’s StackWalker class from CodeProject, to produce a stacktrace when an exception occurs in my DLL. It relies on DbgHelp.dllIs DbgHelp.dll built-in to Windows Vista, WS2008, Windows 7? I know about The Debugging Tools for Windows from Microsoft, and I’m aware that DbgHelp.dll ships in that package. But I also found DbgHelp.dll in %windir%\system32 on my machine. If it is not installed by default, is there a way for me to redistribute it with debug builds of my DLL ?

  • 1800 INFORMATION
    c++ windows minidump dbghelp
    I currently capture MiniDumps of unhandled exceptions using SetUnhandledExceptionFilter however at times I am getting “R6025: pure virtual function”.I understand how a pure virtual function call happens I am just wondering if it is possible to capture them so I can create a MiniDump at that point.

Web site is in building