[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
This commit is contained in:
Stephen Tozer 2023-02-28 18:07:31 +00:00
parent 570995eba2
commit 6376c5b976

View File

@ -259,13 +259,13 @@ class VisualStudio(DebuggerBase, metaclass=abc.ABCMeta): # pylint: disable=abst
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):