================ @@ -817,8 +817,7 @@ llvm::json::Value CreateStackFrame(lldb::SBFrame &frame) { if (line && line != LLDB_INVALID_LINE_NUMBER) object.try_emplace("line", line); ---------------- bulbazord wrote:
>From the [DAP >specification](https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame) > it looks like `line` is also not optional. Can you make sure that `line` is >always added as well? Note that `LLDB_INVALID_COLUMN_NUMBER` is 0 so we don't need to worry about that one. The same is not true for `LLDB_INVALID_LINE_NUMBER` which has the value of `UINT32_MAX`. You'll need to do some checking since the specification says that the line number should be 0 when the line should be ignored by the client. https://github.com/llvm/llvm-project/pull/73393 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits