[Lldb-commits] [PATCH] D136697: Add formatting support for VSCode logpoints message

jeffrey tan via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 25 09:50:14 PDT 2022


yinghuitan created this revision.
yinghuitan added reviewers: clayborg, labath, jingham, jdoerfert, JDevlieghere, aadsm, kusmour, fixathon.
Herald added a project: All.
yinghuitan requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

https://reviews.llvm.org/D127702 adds the initial logpoints support in 
lldb-vscode. This patch further improves it by:

1. Adding a newline at the end of each log message
2. Support most of the format specifiers like \t, \n, \x etc..

The implementation is borrowed from FormatEntity::ParseInternal(). Future
patch should merge these two implementations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136697

Files:
  lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_logpoints.py
  lldb/tools/lldb-vscode/BreakpointBase.cpp
  lldb/tools/lldb-vscode/BreakpointBase.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136697.470536.patch
Type: text/x-patch
Size: 12534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221025/a7c868a8/attachment.bin>


More information about the lldb-commits mailing list