File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,6 @@ void SetupProcess (CorProcess corProcess)
271
271
corProcess . OnEvalException += OnEvalException ;
272
272
corProcess . OnLogMessage += OnLogMessage ;
273
273
corProcess . OnException2 += OnException2 ;
274
- corProcess . OnException += OnException ;
275
274
corProcess . RegisterStdOutput ( OnStdOutput ) ;
276
275
}
277
276
@@ -823,32 +822,6 @@ void OnException2 (object sender, CorException2EventArgs e)
823
822
}
824
823
}
825
824
826
- private void OnException ( object sender , CorExceptionEventArgs e )
827
- {
828
- lock ( debugLock ) {
829
- if ( evaluating ) {
830
- e . Continue = true ;
831
- return ;
832
- }
833
- }
834
-
835
- TargetEventArgs args = new TargetEventArgs (
836
- e . Unhandled ? TargetEventType . UnhandledException : TargetEventType . ExceptionThrown ) ;
837
-
838
- OnStopped ( ) ;
839
- e . Continue = false ;
840
- // If an exception is thrown while stepping, cancel the stepping operation
841
- if ( stepper != null && stepper . IsActive ( ) )
842
- stepper . Deactivate ( ) ;
843
- autoStepInto = false ;
844
- SetActiveThread ( e . Thread ) ;
845
-
846
- args . Process = GetProcess ( process ) ;
847
- args . Thread = GetThread ( e . Thread ) ;
848
- args . Backtrace = new Backtrace ( new CorBacktrace ( e . Thread , this ) ) ;
849
- OnTargetEvent ( args ) ;
850
- }
851
-
852
825
public bool IsExternalCode ( string fileName )
853
826
{
854
827
if ( string . IsNullOrWhiteSpace ( fileName ) )
You can’t perform that action at this time.
0 commit comments