Note: When you first launch the debugger for a script, it begins code execution from the top of the script. To step through the code one line at a time, click the Step button or press the F8 key. If triggered, the debugger will continue running from its current position in the code until the next breakpoint is found (if any) or until the end of the script is reached. When the debugger is running but paused, this button changes to. To execute all of the script from the beginning until the first breakpoint is found (if any) or until the end of the script is reached, click the Start button or press the F5 key. You cannot insert a breakpoint on an empty line. To insert a breakpoint, click in the area to the left of the line number. You can add and remove breakpoints before you launch the debugger and any time the debugger is paused. You can insert breakpoints to pause the debugger before it executes certain lines of code. If stopping at breakpoints or stepping through the code, the Python Script Editor will be displayed, and you can use the buttons and tools described below. The debugger will launch the Inspection, and Python scripts will be triggered by Formula tests in the Inspection. If debugging an Action-based script, use the Step button (because breakpoints are not available). For Action-based scripts in an inspection, it is not possible to insert breakpoints.įrom any script in the Python Script Editor, click the Start button (or press F5) or the Step button (or press F8). When the Python Script Editor is displayed, click any code-only scripts that may be executed by the inspection and insert breakpoints where desired. Select the Inspection or Planned Inspection you wish to debug, select the Debug check box, and then click the Run button. In the GainSeeker Inspections module, open the list of Inspections or the list of Planned Inspections. Right-click on the Inspection Editor window and then click Debug (PC). In the GainSeeker Inspections module, use Manage Inspections to edit the Inspection. Double-click any Formula test with a Python script selected. Use any of these methods to begin debugging:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |