We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 140f4da + 3355248 commit 26098baCopy full SHA for 26098ba
Mono.Debugging.Win32/CorDebuggerSession.cs
@@ -155,10 +155,23 @@ void QueueToHelperThread (Action action)
155
helperOperationsQueue.Add (action);
156
}
157
158
+ void DeactivateBreakpoints ()
159
+ {
160
+ var breakpointsCopy = breakpoints.Keys.ToList ();
161
+ foreach (var corBreakpoint in breakpointsCopy) {
162
+ try {
163
+ corBreakpoint.Activate (false);
164
+ }
165
+ catch (Exception e) {
166
+ DebuggerLoggingService.LogMessage ("Exception in DeactivateBreakpoints(): {0}", e);
167
168
169
170
+
171
void TerminateDebugger ()
172
{
173
helperOperationsCancellationTokenSource.Cancel();
- Breakpoints.Clear ();
174
+ DeactivateBreakpoints ();
175
lock (terminateLock) {
176
if (terminated)
177
return;
0 commit comments