Skip to content
Merged
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
Update docs
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
gaogaotiantian and iritkatriel authored Sep 24, 2024
commit f9d01f910409a4eff1cf5458bf37609185c36e92
9 changes: 6 additions & 3 deletions Doc/library/pdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,12 @@ access further features, you have to do this yourself:
The *readrc* argument defaults to true and controls whether Pdb will load
.pdbrc files from the filesystem.

The *mode* argument is used to indicate the origin of the debugger.
It should be either ``None``, ``'inline'`` or ``'cli'``. It impacts
the workings of some debugger commands.
The *mode* argument specifies how the debugger was invoked.
It impacts the workings of some debugger commands.
Valid values are ``'inline'`` (when called from the breakpoint() builtin),
``'cli'`` (when called from a command line invocation)
Comment thread
gaogaotiantian marked this conversation as resolved.
Outdated
or ``None`` (for backwards compatible behaviour, as before the *mode*
argument was added).

Example call to enable tracing with *skip*::

Expand Down