About this task
You can debug the XUI file as preview. And you can set the break
point in the defined logic class. The preview stops at the break point and
the debug information is displayed in the Console view. To debug the XUI file
as preview, you need to do the following steps:
- Perform one of the following operations to open Debug dialog
box.
- Select as shown in the following screen capture.
- Right click the XUI file in the Package Explorer view, and select as
shown in the following screen capture.
- Click in the toolbar, or click as shown
in the following figure.
- Enter the proper configuration information of the XUI file which is to
be debugged in the dialog and click Debug.
Tip: You can also click the
New launch configuration icon
on the upper-left corner in the
Debug window to create new configurations.
The created configuration can be saved automatically and is serially reusable.
The following screen capture shows the
New launch configuration icon.
In the defined
logic classes, such as the classes for Initializers or Actions, if you set
the break points to debug the codes, the program can hang up at the break
point before its preview opens. And the output information can be displayed
in the Console view. You can refer to the following screen capture.