llvm-project/lldb
Walter Erquinigo cc88d301a0 [lldb-vscode] Reduce chattiness of progress events
Progress events internally have a completed count and a total count, which can mean that for a job with 20000 total counts, then there will be 20000 events fired. Sending all these events to the IDE can break it. For example, debugging a huge binary resulted in around 50 million messages, which rendered the IDE useless, as it was spending all of its resources simply parsing messages and updating the UI.

A way to fix this is to send unique percentage updates, which are at most 100 per job, which is not much. I was able to debug that big target and confirm that only unique percentage notifications are sent. I can't write a test for this because the current test is flaky. I'll figure out later how to make the test reliable, but fixing this will unblock us from deploy a new version of lldb-vscode.

Differential Revision: https://reviews.llvm.org/D100443
2021-04-14 13:00:01 -07:00
..
bindings Revert "[lldb/Plugins] Add ScriptedProcess Process Plugin" 2021-03-24 21:31:16 +01:00
cmake [lldb] Remove XPCServices symlinking 2021-03-01 11:23:46 -08:00
docs [lldb] Improve the documentation (#42017) 2021-04-08 10:58:02 -07:00
examples [lldb/bindings] Add Python ScriptedProcess base class to lldb module 2021-03-23 18:24:47 +01:00
include/lldb Reland "[lldb] [Process] Watch for fork/vfork notifications" for Linux 2021-04-13 14:38:31 +02:00
packages/Python [lldb/test] Remove the "expect_captures" feature of lldb-server tests 2021-04-14 21:08:55 +02:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Only override target arch if it is compatible 2021-04-14 12:14:25 -07:00
test [lldb/test] Remove the "expect_captures" feature of lldb-server tests 2021-04-14 21:08:55 +02:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb-vscode] Reduce chattiness of progress events 2021-04-14 13:00:01 -07:00
unittests [lldb/DWARF] Fix a crash parsing invalid dwarf (pr49678) 2021-04-08 16:48:02 +02:00
utils Reapply "[lldb/test] Automatically find debug servers to test" 2021-02-21 20:47:47 +01:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py