Skip to content

Commit 8494831

Browse files
committed
Include handle information in the dump
1 parent 4ac73f4 commit 8494831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static bool cbMiniDump(int argc, char* argv[])
8383
exceptionInfo.ThreadId = DbgGetThreadId();
8484
exceptionInfo.ExceptionPointers = &exceptionPointers;
8585
exceptionInfo.ClientPointers = FALSE;
86-
auto dumpType = MINIDUMP_TYPE(MiniDumpWithFullMemory | MiniDumpWithFullMemoryInfo | MiniDumpIgnoreInaccessibleMemory);
86+
auto dumpType = MINIDUMP_TYPE(MiniDumpWithFullMemory | MiniDumpWithFullMemoryInfo | MiniDumpIgnoreInaccessibleMemory | MiniDumpWithHandleData);
8787
auto dumpSaved = !!MiniDumpWriteDump(DbgGetProcessHandle(), DbgGetProcessId(), hFile, dumpType, &exceptionInfo, nullptr, nullptr);
8888

8989
// Re-enable all breakpoints that were previously disabled

0 commit comments

Comments
 (0)