changeset: 79858:ea7849650fd1 parent: 79854:0e685b1c4d58 parent: 79857:85c4d21f7454 user: Ned Deily date: Sat Oct 20 13:28:16 2012 -0700 files: Lib/idlelib/help.txt description: Issue #10405: merge from 3.3 diff -r 0e685b1c4d58 -r ea7849650fd1 Doc/library/idle.rst --- a/Doc/library/idle.rst Sat Oct 20 22:54:12 2012 +0300 +++ b/Doc/library/idle.rst Sat Oct 20 13:28:16 2012 -0700 @@ -154,27 +154,56 @@ 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. - -Open stack viewer - show the stack traceback of the last exception + 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. -Debugger toggle - Run commands in the shell under the debugger +Debugger + Run commands in the shell under the debugger. -JIT Stack viewer toggle - Open stack viewer on traceback +Stack viewer + Show the stack traceback of the last exception. + +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 ---------------------------- diff -r 0e685b1c4d58 -r ea7849650fd1 Lib/idlelib/help.txt --- a/Lib/idlelib/help.txt Sat Oct 20 22:54:12 2012 +0300 +++ b/Lib/idlelib/help.txt Sat Oct 20 13:28:16 2012 -0700 @@ -80,7 +80,7 @@ Debug Menu (only in Shell window): Go to File/Line -- look around the insert point for a filename - and linenumber, open the file, and show the line + and line number, open the file, and show the line Debugger (toggle) -- Run commands in the shell under the debugger Stack Viewer -- Show the stack traceback of the last exception Auto-open Stack Viewer (toggle) -- Open stack viewer on traceback @@ -92,7 +92,7 @@ Startup Preferences may be set, and Additional Help Sources can be specified. - On MacOS X this menu is not present, use + On OS X this menu is not present, use menu 'IDLE -> Preferences...' instead. --- Code Context -- Open a pane at the top of the edit window which @@ -120,6 +120,15 @@ --- (Additional Help Sources may be added here) +Edit context menu (Right-click / Control-click in Edit window): + + Set Breakpoint -- Sets a breakpoint (when debugger open) + Clear Breakpoint -- Clears the breakpoint on that line + +Shell context menu (Right-click / Control-click in Shell window): + + Go to file/line -- Same as in Debug menu + ** TIPS ** ========== @@ -222,7 +231,7 @@ Alt-p retrieves previous command matching what you have typed. Alt-n retrieves next. - (These are Control-p, Control-n on the Mac) + (These are Control-p, Control-n on OS X) Return while cursor is on a previous command retrieves that command. Expand word is also useful to reduce typing.

AltStyle によって変換されたページ (->オリジナル) /