Changeset 1608


Ignore:
Timestamp:
1/19/2010 5:11:51 AM (5 years ago)
Author:
lowjoel
Message:

Always write the debug log, the screenshot, then the memory dump as that's the usual order for files in increasing size. This helps with situations where the disk is full. Addresses #315: Fix handling of corrupt crash reports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/BlackBox/Eraser.Util/BlackBox.cs

    r1456 r1608  
    272272            Directory.CreateDirectory(currentCrashReport); 
    273273 
     274            //Then write a user-readable summary 
     275            WriteDebugLog(currentCrashReport, e); 
     276 
     277            //Take a screenshot 
     278            WriteScreenshot(currentCrashReport); 
     279 
    274280            //Write a memory dump to the folder 
    275281            WriteMemoryDump(currentCrashReport, e); 
    276  
    277             //Then write a user-readable summary 
    278             WriteDebugLog(currentCrashReport, e); 
    279  
    280             //Take a screenshot 
    281             WriteScreenshot(currentCrashReport); 
    282282        } 
    283283 
Note: See TracChangeset for help on using the changeset viewer.