[Lldb-commits] [lldb] [lldb] Remove process restart prompt from TestSourceManager (PR #85861)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 19 16:09:02 PDT 2024


================
@@ -323,13 +323,13 @@ def test_artificial_source_location(self):
         )
 
         self.expect(
-            "run",
-            RUN_SUCCEEDED,
+            "thread info", substrs=[f"{src_file}:0", "stop reason = breakpoint"]
+        )
+        self.expect(
+            "frame select 0",
             substrs=[
-                "stop reason = breakpoint",
-                "%s:%d" % (src_file, 0),
-                "Note: this address is compiler-generated code in " "function",
-                "that has no source code associated " "with it.",
+                "Note: this address is compiler-generated code in function",
+                "that has no source code associated with it.",
----------------
bulbazord wrote:

Just tried it out, it totally can be. Thanks for the tip!

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


More information about the lldb-commits mailing list