Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating a dump file for a managed (.net) application using windbg (or mscordmp)

Tags:

.net

windbg

I'm looking into creating dump files for a managed process.

I know that I can use windbg to create a dump file, but I'm wondering if their are any special flags that I should pass to the ".dump" command, given that it's a managed application instead of a native one.

a related side question: I've heard of a tool called mscordmp.exe (if you google it, you can find mention of it online). Is mscordmp still relevant? I can't find a download point for it anywhere, but I thought it might be better suited for dumping managed memory than windbg.

like image 372
brad Avatar asked Jan 20 '10 17:01

brad


People also ask

What is create dump file in Task Manager?

A dump file is a snapshot of an application at the point in time the dump is taken. It shows what was executing, what modules are loaded, and if saved with heap, contains a snapshot of what was in the application's memory at that point in time.

What is DMP file?

What is a DMP file? The DMP file is primarily associated with the MemoryDump or Minidump file format. It is used in Microsoft Windows operating system to store data that has been dumped from the memory space of the computer. Usually, DMP files are created when a file crashes or an error occurs.


1 Answers

You should use /ma to create full memory dump. Otherwise sos will complain that managed analysis will be very limited.

like image 111
Volker von Einem Avatar answered Nov 13 '22 09:11

Volker von Einem