Changeset 1976 for trunk/eraser
- Timestamp:
- 4/28/2010 7:19:49 AM (3 years ago)
- Location:
- trunk/eraser
- Files:
-
- 1 added
- 2 edited
-
Eraser.BlackBox/BlackBox.cs (modified) (1 diff)
-
Eraser.Util/Eraser.Util.csproj (modified) (1 diff)
-
Eraser.Util/MiniDump.cs (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.BlackBox/BlackBox.cs
r1973 r1976 170 170 { 171 171 //Store the exception information 172 NativeMethods.MiniDumpExceptionInfo exception = 173 new NativeMethods.MiniDumpExceptionInfo(); 174 exception.ClientPointers = false; 175 exception.ExceptionPointers = Marshal.GetExceptionPointers(); 176 exception.ThreadId = (uint)AppDomain.GetCurrentThreadId(); 177 178 NativeMethods.MiniDumpWriteDump(Process.GetCurrentProcess().Handle, 179 (uint)Process.GetCurrentProcess().Id, stream.SafeFileHandle, 180 NativeMethods.MiniDumpType.MiniDumpWithFullMemory, 181 ref exception, IntPtr.Zero, IntPtr.Zero); 172 MiniDump.Dump(stream); 182 173 } 183 174 } -
trunk/eraser/Eraser.Util/Eraser.Util.csproj
r1973 r1976 105 105 <Compile Include="FileSize.cs" /> 106 106 <Compile Include="Logger.cs" /> 107 <Compile Include="MiniDump.cs" /> 107 108 <Compile Include="NativeMethods\DbgHelp.cs" /> 108 109 <Compile Include="NativeMethods\Mpr.cs" />
Note: See TracChangeset
for help on using the changeset viewer.
