This is an archive of the discontinued LLVM Phabricator instance.

Document the "extra_args" parameter to scripted breakpoint callbacks
ClosedPublic

Authored by jingham on Feb 9 2021, 2:03 PM.

Details

Summary

I forgot to document this when adding the feature. Added docs here in both the python-reference.rst and in the command help.

Diff Detail

Event Timeline

jingham requested review of this revision.Feb 9 2021, 2:03 PM
jingham created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2021, 2:03 PM
This revision is now accepted and ready to land.Feb 9 2021, 2:25 PM
This revision was landed with ongoing or failed builds.Feb 9 2021, 3:33 PM
This revision was automatically updated to reflect the committed changes.
kastiglione added inline comments.
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
127

How about internal_dict, the name used elsewhere, and since in this example dict would shadow the python dict() constructor.

jingham added inline comments.Feb 9 2021, 5:49 PM
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
127

Did this as a follow-on.