[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:
parent
570995eba2
commit
6376c5b976
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user