Changeset 1809


Ignore:
Timestamp:
2/10/2010 10:44:30 AM (4 years ago)
Author:
lowjoel
Message:

Don't register BlackBox? as a crash handler when a debugger is attached to the current process.

File:
1 edited

Legend:

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

    r1802 r1809  
    130130        private BlackBox() 
    131131        { 
     132            //If we have a debugger attached we shouldn't bother with exceptions. 
     133            if (Debugger.IsAttached) 
     134                return; 
     135 
    132136            AppDomain.CurrentDomain.UnhandledException += OnUnhandledException; 
    133137            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); 
Note: See TracChangeset for help on using the changeset viewer.