[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

Stephen Tozer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 11 04:37:19 PDT 2025


================
@@ -0,0 +1,38 @@
+# DExTer : Debugging Experience Tester
+# ~~~~~~   ~         ~~         ~   ~~
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+"""A Command that tells dexter to set a function breakpoint and step through
+the function after hitting it.
+
+NOTE: Only supported for DAP based debuggers.
+"""
+
+from dex.command.CommandBase import CommandBase
+
+
+class DexStepFunction(CommandBase):
+    def __init__(self, *args, **kwargs):
+        if len(args) < 1:
+            raise TypeError("expected 1 positional argument")
+        self.expression = str(args[0]) # Function name.
----------------
SLTozer wrote:

Maybe name this `self.function` instead?

https://github.com/llvm/llvm-project/pull/152720


More information about the llvm-branch-commits mailing list