O'Reilly logo

Memory Dump Analysis Anthology, Volume 7 by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Postmortem Effects of -g

One of attendees of our Accelerated Memory Dump Analysis training5 pointed us to the possible effects of -g option for AeDebug custom postmortem debugger (Volume 1, page 618) command line for CDB, NTSD or WinDbg. So we tested that with x64 TestWER tool6 (should be the same with an x86 version) and indeed there are differences.

With -g option with have this stack trace:

AeDebug\Debugger = "C:\Program Files\Debugging Tools for Windows
(x64)\windbg.exe" -p %ld -e %ld -g
0:000> kL Child-SP RetAddr Call Site 00000000`0012f210 00000001`40004148 TestWER64!CTestDefaultDebuggerDlg::OnBnClickedButton1+0x7e 00000000`0012f250 00000001`40004388 TestWER64!_AfxDispatchCmdMsg+0xc4 00000000`0012f280 00000001`40003552 TestWER64!CCmdTarget::OnCmdMsg+0x180 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required