About Application Debugger
Application Debugger is a troubleshooting tool that lets you debug apps created in Application Studio.
This tool is accessed by selecting Debug mode from the Mobile Client Help menu. You can run Application Debugger in Go or Stop mode to troubleshoot an app's business logic, forms, and wires. In either mode, you can set breakpoints and flags to monitor data as it changes. When input is required, Application Debugger pauses and waits for entry of the requested information in Mobile Client. Then, after detecting the entry, Application Debugger resumes debugging the app.
Beginning in 9.0 SP10, to access the debugger, you must be a System Administrator, Instance Administrator, Application Developer, Application Administrator, or Mobile Client Administrator.
You can use the Application Debugger program to complete any of the followings tasks.
-
Run an app line by line
-
Set breakpoints
-
Set the next point of execution
-
Review the source element description
-
Set watched source elements
-
Change data in fields and variables
-
Change values for the form control properties
-
Change records in tables and download sets
-
View, edit, and delete output records
App logic and forms
In Go mode, Application Debugger runs the app from beginning to end, only stopping when it reaches a breakpoint or a watched source element you define.
In Stop mode, Application Debugger stops and waits. In addition to using the breakpoints and watch flags you define, Application Debugger can execute the app by stepping through it element by element.
You can also use the Set next step option in Stop mode, which sets an action to jump over a source element. This action changes the normal flow of an app. Instead of executing the current source element, the point of execution can be moved to another source element either before or after the current one. For example, if a function call is not currently working, the next step can be set so that Application Debugger skips that function call.
Wires
Beginning in version 9.0 SP1, Application Debugger includes options for wire-based user interfaces built for an app.
Application Debugger runs the wire with the rest of the app in Go mode, and stops the wire with the rest of the app in Stop mode. Both modes have the same options for troubleshooting wires.
The options for troubleshooting wires include the ability to view the object hierarchy within a wire, view the properties of selected objects, and add breakpoints to wire actions. You can also dynamically edit UI object attributes to make temporary visual changes for troubleshooting purposes. These changes will not be saved to the source wire.
Loading...
There was a problem loading this topic