No, there are no special flags associated with the managed application, no, windbg just creates a memory dump, this is raw data. The goal of your analysis tool is to find out if your dump is created for a managed application or an unmanaged one.
If we talk about analyzing a managed application, you can take the following steps:
- attach
windbg to handle a running managed application - run
.dump /ma <outputfilename.dmp> . It creates a dump file, this operation may take several minutes depending on the amount of memory consumed by the process. The /ma flag orders the creation of a complete memory dump of the connected process with all parameters enabled (this is not a complete system dump, only the attached process). - Distracted from the process, it can continue to work, while you can load the dump file into
windbg and analyze it. - sos.dll is a common
windbg extension for analyzing managed applications.
ps There may be a problem allowing sos.dll with .load sos.dll , in which case you can try .loadby sos mscorwks .
Dmitry Lobanov
source share