This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Update test.rst with a paragraph about pdb
ClosedPublic

Authored by kastiglione on Apr 1 2021, 9:31 AM.

Details

Summary

Debugging tests sometimes involves debugging the Python source. This adds a paragraph to
the "Debugging Test Failures" section about using pdb, and also describes how to run
lldb commands from pdb.

Diff Detail

Event Timeline

kastiglione requested review of this revision.Apr 1 2021, 9:31 AM
kastiglione created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2021, 9:31 AM
JDevlieghere accepted this revision.Apr 1 2021, 9:38 AM

Thanks, this is super useful. LGTM modulo the inline comment.

lldb/docs/resources/test.rst
387

This should be indented to show up as code.

This revision is now accepted and ready to land.Apr 1 2021, 9:38 AM

Indent source block

lldb/docs/resources/test.rst
387

thanks for catching it

JDevlieghere accepted this revision.Apr 1 2021, 9:44 AM

s/lldb alias/pdb alias

This revision was landed with ongoing or failed builds.Apr 1 2021, 9:53 AM
This revision was automatically updated to reflect the committed changes.
Harbormaster completed remote builds in B96754: Diff 334733.