diff options
| author | GeorgeHuyubo <113479859+GeorgeHuyubo@users.noreply.github.com> | 2026-02-04 09:10:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-04 09:10:07 -0800 |
| commit | 23bf55eda43a7d2f9ffffce3f371fcf28c8d2df7 (patch) | |
| tree | 77fcf60602150946a0a71b140e66f65ed3e3de5c /lldb/packages/Python/lldbsuite | |
| parent | 4a0a2057a8f317836fa60f63fa9a0794faa32873 (diff) | |
| download | llvm-23bf55eda43a7d2f9ffffce3f371fcf28c8d2df7.tar.gz llvm-23bf55eda43a7d2f9ffffce3f371fcf28c8d2df7.tar.bz2 llvm-23bf55eda43a7d2f9ffffce3f371fcf28c8d2df7.zip | |
[lldb]Send statistics in initialized event (#178978)
Re-attemp landing of old commit:
https://github.com/llvm/llvm-project/commit/7fe3586cda5b683766ec6b6d5ca2d98c2baaf162
Co-authored-by: George Hu <georgehuyubo@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
| -rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py index 32e37c502e35..2747fc0c7573 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py @@ -310,6 +310,7 @@ class DebugCommunication(object): # trigger enqueue thread self._recv_thread.start() + self.initialized_event = None @classmethod def encode_content(cls, s: str) -> bytes: @@ -516,6 +517,7 @@ class DebugCommunication(object): self.output[category] = output elif event == "initialized": self.initialized = True + self.initialized_event = packet elif event == "process": # When a new process is attached or launched, remember the # details that are available in the body of the event |
