Advanced PowerBuilder

HomePrevious Lesson: Flow In the Debug Window
Next Lesson: Step-over

Step-in

This option is available in the previous versions and was the only choice. Choosing this option executes the current line and pauses the execution. If the current line is a function or an event firing, you will be taken into that script. Suppose you wrote a script for the Clicked event of a CommandButton to call a function and trigger certain events. If you set a stop for the CommandButton's clicked event, you can see the execution of the function and the triggered event step-by-step, in the debug window. In turn if this function calls a second function, it's also displayed in the debug window. However, unlike the Java-debugger where you can see the execution of system classes�classes supplied by SUN Microsystems�you can't see the source code for the PowerBuilder system classes in the debugger window. Select 'Debug/Step In' option from the menu or click on icon from the Painterbar.
HomePrevious Lesson: Flow In the Debug Window
Next Lesson: Step-over