This is an archive of the discontinued LLVM Phabricator instance.

[lldb-vscode] Use `expression` command for completion
ClosedPublic

Authored by kastiglione on Mar 6 2023, 3:12 PM.

Details

Summary

Change lldb-vscode to use the expression command for generating completions, instead
of the p alias.

Aliases are user overrideable, and even deletable, but the expression command is
unchangeable.

See D141539 where a similar replacement was done to tests.

Diff Detail

Event Timeline

kastiglione created this revision.Mar 6 2023, 3:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 3:12 PM
kastiglione requested review of this revision.Mar 6 2023, 3:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 3:12 PM
aprantl accepted this revision.Mar 6 2023, 5:27 PM
aprantl added a reviewer: clayborg.

That seems to be clearly better, since p could be aliased to anything.

This revision is now accepted and ready to land.Mar 6 2023, 5:28 PM

We might consider using dwim-print here in the future?

Fix adjacent code and make the tests pass

This revision was landed with ongoing or failed builds.Mar 7 2023, 11:13 AM
This revision was automatically updated to reflect the committed changes.