[Lldb-commits] [PATCH] D156979: [lldb][lldb-vscode] Pretty print JSON to log files
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 3 02:47:42 PDT 2023
DavidSpickett added reviewers: ashgti, wallace.
DavidSpickett added a comment.
The one disadvantage here is that pretty printing adds more characters, so before you could copy paste the single JSON line and (I presume) it would have the same number of characters.
If that's a required use case then instead I can do the printing in the testing wrapper in lldb, by just going line by line and anything beginning with `{`, attempt to parse as JSON. I just figured that this formatting may be useful outside of the lldb context.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156979/new/
https://reviews.llvm.org/D156979
More information about the lldb-commits
mailing list