[Lldb-commits] [lldb] [lldb] Add frame recognizers for libc++ `std::invoke` (PR #105695)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Sun Aug 25 23:45:43 PDT 2024
================
@@ -0,0 +1,40 @@
+#include <functional>
+#include <iostream>
+
+void print_num(int i) {
+ // break here
+ std::cout << i << '\n';
----------------
Michael137 wrote:
no need to print to `std::cout` anywhere in the test imo. Also, we usually try to avoid breakpoints on comments. So wrapping them in something like:
```
__builtin_printf("break here");
```
Is slightly preferred. Or might even get something with `__builtin_debugtrap()` working
https://github.com/llvm/llvm-project/pull/105695
More information about the lldb-commits
mailing list