Ejemplo n.º 1
0
 private void OnBeforeDebuggingStateChanged(object sender, DebuggingStateChangedEventArgs args)
 {
     if (args.After == DebuggingState.Run)
     {
         // It's too late for us to change anything, which means we can neither commit nor
         // rollback changes to cancel. End the rename session but keep all open buffers in
         // their current state.
         Cancel(rollbackTemporaryEdits: false);
     }
 }
Ejemplo n.º 2
0
 private void OnBeforeDebuggingStateChanged(object sender, DebuggingStateChangedEventArgs args)
 {
     if (args.After == DebuggingState.Run)
     {
         Commit();
     }
 }