[Lldb-commits] [lldb] [lldb-dap] support moduleId in the stackTrace response (PR #149774)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 28 07:56:18 PDT 2025


================
@@ -242,3 +242,29 @@ def test_StackFrameFormat(self):
 
         frame = self.get_stackFrames(format={"parameters": False, "module": True})[0]
         self.assertEqual(frame["name"], "a.out recurse")
+
+    def test_stackFrameModuleIdUUID(self):
+        program = self.getBuildArtifact("a.out")
+        self.build_and_launch(program)
+        source = "main.c"
+
+        self.set_source_breakpoints(source, [line_number(source, "recurse end")])
+        self.continue_to_next_stop()
----------------
da-viper wrote:

use `self.continue_to_breakpoints` instead as other things can cause a stop. see `TestDAP_module.py` for an example. 

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


More information about the lldb-commits mailing list