summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py
diff options
context:
space:
mode:
authorCharles Zablit <c_zablit@apple.com>2025-09-02 18:06:15 +0100
committerGitHub <noreply@github.com>2025-09-02 18:06:15 +0100
commitf0c819868dddc844f7539c532acfc4b7ab956bbe (patch)
tree4d32c70f255e333f852d558fa70cd311c28b6b7a /lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py
parentf99b0f3de4f627dac0092a9bea4faa8d3cf0b2e1 (diff)
[lldb][windows] use OutputDebugStringA instead of c to log events (#156474)
In https://github.com/llvm/llvm-project/pull/150213 we made use of the Event Viewer on Windows (equivalent of system logging on Darwin) rather than piping to the standard output. This turned out to be too verbose in practice, as the Event Viewer is developer oriented and not user oriented. This patch swaps the use of `ReportEventW` for `OutputDebugStringA`, allowing to use tools such as `DebugView` to record logs when we are interested in receiving them, rather than continuously writing to the buffer. Please see an example below: <img width="1253" height="215" alt="Screenshot 2025-09-02 at 16 07 03" src="https://github.com/user-attachments/assets/4a326e46-d8a4-4c99-8c96-1bee62da8d55" />
Diffstat (limited to 'lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions