File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ access further features, you have to do this yourself:
219219
220220 The *mode * argument specifies how the debugger was invoked.
221221 It impacts the workings of some debugger commands.
222- Valid values are ``'inline' `` (when called from the breakpoint() builtin),
223- ``'cli' `` (when called from a command line invocation)
222+ Valid values are ``'inline' `` (used by the breakpoint() builtin),
223+ ``'cli' `` (used by the command line invocation)
224224 or ``None `` (for backwards compatible behaviour, as before the *mode *
225225 argument was added).
226226
@@ -686,8 +686,8 @@ can be overridden by the local file.
686686 :pdbcmd: `restart ` is an alias for :pdbcmd: `run `.
687687
688688 .. versionchanged :: 3.14
689- :pdbcmd: `run ` and :pdbcmd: `restart ` commands are not allowed when the
690- debugger is invoked from an inline breakpoint .
689+ :pdbcmd: `run ` and :pdbcmd: `restart ` commands are disabled when the
690+ debugger is invoked in `` ' inline' `` mode .
691691
692692.. pdbcommand :: q(uit)
693693
Original file line number Diff line number Diff line change @@ -1613,7 +1613,7 @@ def do_run(self, arg):
16131613 are preserved. "restart" is an alias for "run".
16141614 """
16151615 if self .mode == 'inline' :
1616- self .error ('run/restart command is disabled in inline breakpoints .\n '
1616+ self .error ('run/restart command is disabled when pdb is running in inline mode .\n '
16171617 'Use the command line interface to enable restarting your program\n '
16181618 'e.g. "python -m pdb myscript.py"' )
16191619 return
You can’t perform that action at this time.
0 commit comments