Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused cancellation token from EnterDebugLoop()
  • Loading branch information
andyleejordan committed Dec 21, 2021
commit 31b4b82e32a09c869e42a86a8135287769512ced
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
Expand Down Expand Up @@ -118,12 +118,11 @@ public void SetDebugResuming(DebuggerResumeAction debuggerResumeAction)
}

// This must be called AFTER the new PowerShell has been pushed
public void EnterDebugLoop(CancellationToken loopCancellationToken)
public void EnterDebugLoop()
{
RaiseDebuggerStoppedEvent();
}


// This must be called BEFORE the debug PowerShell has been popped
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Justification = "This method may acquire an implementation later, at which point it will need instance data")]
public void ExitDebugLoop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ private void RunDebugExecutionLoop()
{
try
{
DebugContext.EnterDebugLoop(CancellationToken.None);
DebugContext.EnterDebugLoop();
RunExecutionLoop();
}
finally
Expand Down