The
Run Menu
|
Previous Top Next |
Commands:
Syntax
Check
Checks the
syntax of the active Python script
Import
Module
Imports the
active Python script into the
Interactive
Python Interpreter
Run
Runs the active
Python script without debugging using the embedded Python interpreter
Command
Line Parameters...
Provide
command
line parameters
for a script running in the embedded Python interpreter or being debugged
External
Run
Runs the active
Python script in an external Python interpreter
Configure
External Run...
Configures
the External Run command. Options are provided for selecting the Python
interpreter, specifying command line parameters, capturing the standard output
and reporting Traceback information. The options are the same as for the
specification of
External
Tools.
Debug
Runs the active
Python script with debugging using the embedded Python interpreter
Run To
Cursor
Inserts a
temporary breakpoint at the cursor position and runs the active Python script
with debugging using the embedded Python interpreter
Step into
Starts or
resumes debugging by stepping into the next line of code
Step over
Resumes debugging
by stepping over the next line of code
Step out
Resumes debugging
by stepping out the current execution frame
Pause
Stops the
running program at the first available opportunity. Please note that pausing
and aborting is only possibly if there are breakpoints in the running script.
Abort Debugging
Aborts debugging.
Post mortem
Enter post
mortem analysis mode after an unhandled exception has occurred. In this
mode you can use the Call Stack, Variables and Watches windows as well as evaluate
expressions in the interpreter, to examine the causes of the exception.
To exit this mode use the Abort Debugging command.
Toggle
Breakpoint
Toggles the
breakpoint at the cursor position
Clear all
Breakpoints
Clear all
breakpoints in all open files
Add Watch
at Cursor
Add the expression
at the current editor position as a watch expression
Python
Engine submenu
From this
submenu you can switch python versions by selecting from the shown list.
It is also available from the toolbar of the main application window and the
context menu of the Interactive Interpreter.
Setup Python...
Manage the python versions that PyScripter knows about. See the the
Setup Python versions
topic for details.
Python
Engine submenu
From this
submenu you can select the active Python engine. See the the
Remote
Python Engines
topic for details.
Reinitialize
Python engine
This option
is only available with the remote Python engines. It restarts the active
remote engine and it works even when a script is running.