Skip to content

Commit c95a13a

Browse files
committed
mention "python" alternative in "set autoeval"
1 parent 121413f commit c95a13a

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/commands/set/autoeval.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ which produces when *autoeval* is on:
4343
because by default, ``s`` is an alias for the debugger ``step`` command.
4444
It is possible to remove that alias if this causes constant problem.
4545

46+
If you want to run a series Python statements or expressions
47+
without the possibility of the debugger commands getting in the
48+
way, use the :ref:`python <python>` command.
49+
4650
.. seealso::
4751

48-
:ref:`show autoeval <show_autoeval>`
52+
:ref:`show autoeval <show_autoeval>`,
53+
:ref:`eval <eval>`, and
54+
:ref:`python <python>`.

trepan/processor/command/set_subcmd/autoeval.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,19 @@ class SetAutoEval(Mbase_subcmd.DebuggerSetBoolSubcommand):
5252
problem.
5353
5454
Another possibility is to go into a real Python shell via the `python`
55-
or `ipython` commands."""
55+
or `ipython` commands.
56+
57+
58+
If you want to run a series Python statements or expressions
59+
without the possibility of the debugger commands getting in the
60+
way, use the `python` command.
61+
62+
See also:
63+
---------
64+
65+
`show autoeval`, `eval`, `python`
66+
67+
"""
5668

5769
short_help = "Evaluate unrecognized debugger commands."
5870
in_list = True

0 commit comments

Comments
 (0)