Home » Support » Index of All Documentation » Wing Pro Reference Manual » Debugger » Specifying Main Entry Point »

Named Entry Points


Named entry points can be used to define additional debug/execute entry points into Python code. These are accessed with the Named Entry Points... item in the Debug menu, and can be debugged or executed from the Debug Named Entry Point and Execute Named Entry Point sub-menus.

The named entry point manager is used to create, edit, duplicate, and delete named entry points. The manager's list is initially blank. Right click on the list to create, edit, duplicate, or delete a named entry point. To rename an entry point, click on its name and type the new name.

Each named entry point may be assigned a key binding to debug it and another key binding to execute it. This is also done by right clicking in the named entry point manager.

Each named entry point defines the following fields:

Python File -- The file to launch.

Environment -- The environment to use when launching the file. This can either be the project-defined environment from Project Properties with a specified command line, or it can be a selected launch configuration.

Show this dialog before each run -- Select this to show the named entry point properties dialog before debugging or executing it. This is off by default.

Named Entry Points