From 6376c5b976de90db0bbaa8c2f925ecd63bbe6ef4 Mon Sep 17 00:00:00 2001 From: Stephen Tozer Date: Tue, 28 Feb 2023 18:07:31 +0000 Subject: [PATCH] [Dexter] Use non-blocking resume when debugging Visual Studio The Visual Studio debugger currently uses blocking calls to Go and StepInto, which interferes with Dexter's ability to do any processing (e.g. checking for time outs) in between breakpoints. This patch updates these functions to use non-blocking calls. Reviewed By: Orlando Differential Revision: https://reviews.llvm.org/D144986 --- .../dexter/dex/debugger/visualstudio/VisualStudio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py index bbeb7b8cedd8f..281d5f58ec15f 100644 --- a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py +++ b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py @@ -259,13 +259,13 @@ def launch(self, cmdline): ActiveConfiguration = self._fetch_property(project.Properties, 'ActiveConfiguration').Object ActiveConfiguration.DebugSettings.CommandArguments = cmdline_str - self._fn_go() + self._fn_go(False) def step(self): - self._fn_step() + self._fn_step(False) def go(self) -> ReturnCode: - self._fn_go() + self._fn_go(False) return ReturnCode.OK def set_current_stack_frame(self, idx: int = 0):