Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add commands to list/enable/disable plugins #134418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
Loading
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
dmpots committed Apr 24, 2025
commit 1f863a6d565b92b97a741ad413d88f2873693a3c
12 changes: 7 additions & 5 deletions 12 lldb/source/Commands/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -1467,9 +1467,11 @@ let Command = "statistics dump" in {
"scripts executed during a debug session. "
"Defaults to true, unless the '--summary' mode is enabled, in which case "
"this is turned off unless specified.">;
def statistics_dump_plugins: Option<"plugins", "p">, Group<1>,
Arg<"Boolean">,
Desc<"Dump statistics for known plugins including name, order, and enabled "
"state. Defaults to true for both summary and default mode.">;

def statistics_dump_plugins
: Option<"plugins", "p">,
Group<1>,
Arg<"Boolean">,
Desc<"Dump statistics for known plugins including name, order, and "
"enabled "
"state. Defaults to true for both summary and default mode.">;
}
3 changes: 2 additions & 1 deletion 3 lldb/source/Target/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ llvm::json::Value DebuggerStats::ReportStatistics(

if (include_plugins) {
json::Object plugin_stats;
for (const PluginNamespace &plugin_ns : PluginManager::GetPluginNamespaces()) {
for (const PluginNamespace &plugin_ns :
PluginManager::GetPluginNamespaces()) {
json::Array namespace_stats;

for (const RegisteredPluginInfo &plugin : plugin_ns.get_info()) {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.