Migration Guide : E. Features Introduced in OpenROAD 6.2 : Changes to Existing Features : SK_BREAK Key Gets New Functions
 
Share this page          
SK_BREAK Key Gets New Functions
The SK_BREAK key now has two new functions in this version of OpenROAD.
Stops Code Execution in Development
Pressing the SK_BREAK key now immediately halts the execution of 4GL when running in the development environment. This is useful when the application is caught in an infinite code loop due to a logic error. On most keyboards, this SK_BREAK speed key defaults to the Pause/Break key.
When you press Pause/Break, the program stops executing, and control returns to the debugger window. If the debugger window is not open, the debugger starts. Control returns to the next 4GL source statement in the execution path after the currently executing statement finishes.
For more information, see Using the SK_BREAK Key to Stop Code Execution in the Programming Guide.
Displays 4GL Call Stack Output from an Executing Image
Pressing the SK_BREAK key displays a 4GL trace at that moment without halting the image. This is useful when an application appears to be caught in an infinite code loop, perhaps due to a logic error. On most keyboards, this SK_BREAK speed key defaults to the Pause/Break key.
When you press Pause/Break, the program outputs the 4GL stack to a location defined by the current –T flag settings of the runtime without stopping the execution of the code.
For more information, see Using the SK_BREAK Key to Output the Currently Executing 4GL Call Stack in the Programming Guide.