[Lldb-commits] [lldb] [lldb-dap] Allow returning multiple breakpoints in "stopped" event (PR #149133)

Stephen Tozer via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 17 13:14:56 PDT 2025


================
@@ -33,7 +33,7 @@ int main(int argc, char const *argv[]) {
   if (foo == nullptr) {
     fprintf(stderr, "%s\n", dlerror());
     exit(2);
-  }
+  } // end of foo check
----------------
SLTozer wrote:

I can make this change, but other comments used for setting breakpoints in the same file follow this "minimal" convention, e.g.
```
  return 12 + i; // break 12
  return 14 + i; // break 14
  foo(12); // before loop
    int x = twelve(i) + thirteen(i) + a::fourteen(i); // break loop
```
I'll add `break` as a prefix to match most of the other cases, though I'm also happy to just rewrite the string following your suggestion if you think that would be better.

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


More information about the lldb-commits mailing list