Testing an Application in Magic xpa (Magic xpa 4.x)
You can use the Debugger to test your application.
When you are in the Debug mode, you can run a program in runtime and the Debugger will park on the Studio read-only screen at the exact location of where you are in the program. This feature can help you pinpoint problems that you are having in an application.
In the Debugger you can set breakpoints that enable you to halt execution of the program at a specific location in the Studio screen. You can also view and update variables during runtime.
The Debugger lets you debug a single context at a time. To debug more than one context, you can switch from one context to another.
The Debugger also lets you view the Magic xpa flow within the Studio using the Activity Monitor.
In the Debugger you can:
-
Step into and step out of a called task
-
Add or remove a breakpoint
-
Break or continue execution
-
Debug an application that is currently being executed (see Activity Monitor)
-
Dynamically handle logs (see the Logging function)
Magic xpa separates the Studio and Runtime engines, so that the studio client area is available for the runtime concurrent task to display flow or debug information.
What Is an Application
Writing an Application in Magic xpa