[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for stack frames (PR #71843)
Walter Erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 9 18:11:16 PST 2023
walter-erquinigo wrote:
@clayborg , I did pretty much what you asked but with a few changes:
- I added the `customFrameFormat` option to the json config, and it'll be used if provided and non-empty. I just find it simpler to control everything with one single option.
- I added the SBFormat class that wraps around FormatEntity::Entry. I had to convert FormatEntity into a namespace to be able to use forward declarations, but the change was extremely trivial because FormatEntity was just a bag of static functions.
- lldb-dap will dump an error on the debug console if the provided format is wrong, and the original flow is used in this case.
https://github.com/llvm/llvm-project/pull/71843
More information about the lldb-commits
mailing list