diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py @@ -188,6 +188,9 @@ def get_console(self, timeout=0.0): return self.vscode.get_output('console', timeout=timeout) + def get_telemetry(self, timeout=0.0): + return self.vscode.get_output('telemetry', timeout=timeout) + def collect_console(self, duration): return self.vscode.collect_output('console', duration=duration) diff --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py --- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py +++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py @@ -89,8 +89,8 @@ self.build_and_launch(program, runToBinaryEntry=True) self.set_function_breakpoints(['main']) stopped_events = self.continue_to_next_stop() - console_output = self.get_console() - self.assertIn("Process stopped successfully at the binary's entry point", console_output) + telemetry = self.get_telemetry() + self.assertIn("Process stopped successfully at the binary's entry point", telemetry) for stopped_event in stopped_events: if 'body' in stopped_event: