Debug program toolbar options


Find first

image0

Find a search string in the source code. Not yet implemented.


Find next

image1

Find the next occurrence of a search string in the source code. Not yet implemented.


Run program

image2

Continue execution of the program from the current execution point until the next breakpoint.

Execution pauses automatically at the first statement of the program. The creation of the screen display will usually cause sections of program code to be executed prior to the first statement (the EV_CREATE event calling window and control event functions, for example). Using a Next type option immediately after the program loads will step through such sections; this option skips past them.


Run program in slow motion

image3

Continue execution of the program from the current execution point until the next breakpoint in slow motion. Click the Next statement (Step into function) button to pause the program.


Next statement (step into function)

image4

Executes the current statement, which is indicated by a > at the beginning of the line, and then breaks.

If the statement is a function call, control passes to the function. The new current statement is the !function declaration to which control has been passed.


Next statement (step over function)

image5

Identical to the previous option unless the current statement is a function call.

In this case, the function is executed and control passed to the statement following the function call. Any breakpoints encountered are, however, respected.


Next statement (step out of function)

image6

Execute the remainder of the current function and pass control to the statement following the function call. If the program is not currently in a function, the current statement is executed and control passes to the next one. If the current statement is a function call, this option steps over it. Any breakpoints encountered are, however, respected.


Go to current line in source code

image7

Move to and select the current program line on the Source Code tab.


RELATED TOPICS

The Sculptor debug program