Skip to content

Commit

Permalink
[Dexter] Use non-blocking resume when debugging Visual Studio
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SLTozer committed Mar 1, 2023
1 parent 570995e commit 6376c5b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6376c5b

Please sign in to comment.