10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How Debugging an Application WorksStep To End ButtonThere is an exception if the called frame, procedure, or method is in anincluded application, and the included application is in an image file. In thiscase, Step Into behaves like Step because no source is available. If theincluded application is in the database, however, the source is available.The Step To End button continues script execution until the next end, return,or resume statement in the current block or procedure.If a break condition is encountered before reaching an end, return, or resume,the break will occur. If you continue execution after handling the break, theDebugger still takes control at an end, return, or resume as if the interveningbreak had not occurred.Continue ButtonNote: The control of execution during the watch state is the same as when theapplication is running in a normal state except that the Step To End choice isnot available. Control can be exercised by selecting Step, Step Into, orContinue while in the watch state of execution.With two exceptions, the Continue button causes execution to continue until abreak condition is encountered or until the application terminates.One exception is when you have used the Step button, but a break occursbefore reaching the statement following the statement where you issued thestep command. In this case, if you click the Continue button, executioncontinues only until you reach the statement following the one where youstepped.The other exception is when you have used the Step To End button, and abreak occurs before reaching the next end, return, or resume in the procedureor block where you used the Step To End button. In this case, if you clickContinue, execution continues only until you reach the first end, return, orresume statement in the block or procedure where you executed the Step ToEnd command.472 <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!