diff options
author | Ned Deily <nad@acm.org> | 2012-10-20 20:25:34 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-10-20 20:25:34 (GMT) |
commit | 2778d0d1477f854d7443075a21369fde2032d43c (patch) | |
tree | 74a0c4fd0b4ad0c0455664df89723b6a34b29a91 /Doc/library/idle.rst | |
parent | 557c76c136ad1ebe3e48049289c96a3e8eae69be (diff) | |
download | cpython-2778d0d1477f854d7443075a21369fde2032d43c.zip cpython-2778d0d1477f854d7443075a21369fde2032d43c.tar.gz cpython-2778d0d1477f854d7443075a21369fde2032d43c.tar.bz2 |
Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file. (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
Diffstat (limited to 'Doc/library/idle.rst')
-rw-r--r-- | Doc/library/idle.rst | 49 |
1 files changed, 39 insertions, 10 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index 6bd1898..5f28a99 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -154,27 +154,56 @@ The rest of this menu lists the names of all open windows; select one to bring it to the foreground (deiconifying it if necessary). -Debug menu (in the Python Shell window only) -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Debug menu +^^^^^^^^^^ + +* in the Python Shell window only Go to file/line - look around the insert point for a filename and linenumber, open the file, and - show the line. + Look around the insert point for a filename and line number, open the file, + and show the line. Useful to view the source lines referenced in an + exception traceback. -Open stack viewer - show the stack traceback of the last exception +Debugger + Run commands in the shell under the debugger. -Debugger toggle - Run commands in the shell under the debugger +Stack viewer + Show the stack traceback of the last exception. -JIT Stack viewer toggle - Open stack viewer on traceback +Auto-open Stack Viewer + Open stack viewer on traceback. .. index:: single: stack viewer single: debugger +Edit context menu +^^^^^^^^^^^^^^^^^ + +* Right-click in Edit window (Control-click on OS X) + +Set Breakpoint + Sets a breakpoint. Breakpoints are only enabled when the debugger is open. + +Clear Breakpoint + Clears the breakpoint on that line. + +.. index:: + single: Set Breakpoint + single: Clear Breakpoint + single: breakpoints + + +Shell context menu +^^^^^^^^^^^^^^^^^^ + +* Right-click in Python Shell window (Control-click on OS X) + +Go to file/line + Same as in Debug menu. + + Basic editing and navigation ---------------------------- |