[libcxx-commits] [libcxx] WIP [libc++][debugging] P2546R5: Debugging support (PR #81447)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 26 23:07:23 PST 2024
H-G-Hristov wrote:
WIP notes:
- `breakpoint()` - probably a test is possible but I haven't figured out how to do it yet.
- `is_debugger_present()` - has tests for `gdb` and `lldb`, which fail on some Windows configurations.
- debugger support: when the debugger breaks in `breakpoint()` it breaks inside the implementaiton, which isn't an optimal user experience. Perhaps LLDB (the debugger) can be thought to break on `breakpoint()` call site, similar to the `/JMC` option in MSVC but this is unrelated work to this patch.
https://github.com/llvm/llvm-project/pull/81447
More information about the libcxx-commits
mailing list