From 877db384a16a56c2ece5228fcfe4b24fc6248ab6 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 17 Aug 2018 16:34:08 -0700 Subject: [PATCH] Call debugger interop functions from UI thread. --- Python/Tests/DebuggerUITests/DebugProjectUITests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/Tests/DebuggerUITests/DebugProjectUITests.cs b/Python/Tests/DebuggerUITests/DebugProjectUITests.cs index aa5d15a1e4..a2b71f85ad 100644 --- a/Python/Tests/DebuggerUITests/DebugProjectUITests.cs +++ b/Python/Tests/DebuggerUITests/DebugProjectUITests.cs @@ -706,7 +706,7 @@ public void LaunchWithErrorsDontRun(PythonVisualStudioApp app, bool useVsCodeDeb var items = app.WaitForErrorListItems(7); var debug3 = (Debugger3)app.Dte.Debugger; - ThreadPool.QueueUserWorkItem(x => debug3.Go(true)); + debug3.Go(true); var dialog = new PythonLaunchWithErrorsDialog(app.WaitForDialog()); dialog.No();