
Executing Programs in Debugging Mode
Use
You use this procedure to execute programs in debugging mode when you are debugging HTML templates.
The HTMLBusiness debugger supports all the standard debugging functions that control the flow of program execution.
Prerequisites
You have
started a debugging session.Procedure
When you have started a debugging session, you can execute the program gradually or interrupt the program execution using the functions, which you can start either from the
debug toolbar or the Debug menu, as described in the table below:|
Function |
Effect |
|
Show Next Statement orDebug ® Show Next Statement |
Points to next statement in program execution. |
|
Go orDebug ® Go |
Allows the program to run until it:
|
|
Step Into orDebug ® Step Into |
Steps through a single line of code. If this code calls a function or contains a file include operation, the debugger steps into the function or file. |
|
Step Over or Debug ® Step Over |
Steps through a single line of code. If this code calls a function or contains a file include operation, the debugger steps over this function or file. |
|
Step Out orDebug ® Step Out |
Steps out of the current function (or current file, if included from another file) and returns control to the next outer stack frame. |
|
Run To Cursor orDebug ® Run To Cursor |
Executes the program to run as far as the line of code where the cursor is positioned, unless it is interrupted by a breakpoint or other condition before it reaches this line. |
|
Break orDebug ® Break |
Interrupts the program execution as soon as possible and transfers control to the debugger. This is useful if, for example, the session is currently executing a file and it is stuck in an endless loop. |
As you execute the program with these functions, you can
perform debugging tasks.