[lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

Zequan Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 13:14:35 PST 2024


ZequanWu wrote:

I updated to add support for setting data breakpoint with expression. If `variablesReference` is 0 or not provided, interpret `name` as `${number of bytes}@${expression}` to set data breakpoint at the given expression because the spec https://microsoft.github.io/debug-adapter-protocol/specification#Requests_DataBreakpointInfo doesn't say how the client could specify the number of bytes to watch. But I have concern that using `@` as a separator here, maybe some other languages uses `@` as part of their syntax.

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


More information about the llvm-commits mailing list