[Lldb-commits] [lldb] [lldb-dap] Support StackFrameFormat (PR #137113)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 24 09:01:08 PDT 2025


================
@@ -178,14 +179,45 @@ void StackTraceRequestHandler::operator()(
   llvm::json::Array stack_frames;
   llvm::json::Object body;
 
+  lldb::SBFormat frame_format = dap.frame_format;
+
+  if (const auto *format = arguments->getObject("format")) {
----------------
ashgti wrote:

Another thing I notice is the `StackFrameFormat` inherits from `ValueFormat` and thus includes the `hex?: boolean;` field as well.

I'm not sure what that would mean in terms of a stack frame however, just thought I would note that for completeness.

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


More information about the lldb-commits mailing list