[Dexter][NFC] Rename step -> step_in (#152716)

This commit is contained in:
Orlando Cazalet-Hyams 2025-08-12 10:51:02 +01:00 committed by GitHub
parent 8140779a9a
commit 2d33b799bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -635,7 +635,7 @@ class DAP(DebuggerBase, metaclass=abc.ABCMeta):
def _post_step_hook(self):
"""Hook to be executed after completing a step request."""
def step(self):
def step_in(self):
self._flush_breakpoints()
step_req_id = self.send_message(
self.make_request("stepIn", {"threadId": self._debugger_state.thread})

View File

@ -184,7 +184,7 @@ class DebuggerBase(object, metaclass=abc.ABCMeta):
pass
@abc.abstractmethod
def step(self):
def step_in(self):
pass
@abc.abstractmethod

View File

@ -128,7 +128,7 @@ class DefaultController(DebuggerControllerBase):
break
if in_source_file(self.source_files, step_info):
self.debugger.step()
self.debugger.step_in()
else:
self.debugger.go()

View File

@ -111,7 +111,7 @@ class DbgEng(DebuggerBase):
# We are, by this point, already launched.
self.step_info = probe_process.probe_state(self.client)
def step(self):
def step_in(self):
res = setup.step_once(self.client)
if not res:
self.finished = True
@ -122,7 +122,7 @@ class DbgEng(DebuggerBase):
# relevant source file -- this is likely to be a problem when setting
# breakpoints. Until that's fixed, single step instead of running
# freely. This isn't very efficient, but at least makes progress.
self.step()
self.step_in()
def _get_step_info(self, watches, step_index):
frames = self.step_info

View File

@ -204,7 +204,7 @@ class LLDB(DebuggerBase):
assert num_stopped_threads > 0
assert self._thread, (self._process, self._thread)
def step(self):
def step_in(self):
self._thread.StepInto()
stop_reason = self._thread.GetStopReason()
# If we (1) completed a step and (2) are sitting at a breakpoint,

View File

@ -308,7 +308,7 @@ class VisualStudio(
self.context.logger.note("Launching VS debugger...")
self._fn_go(False)
def step(self):
def step_in(self):
self._fn_step(False)
def go(self) -> ReturnCode: