How do I debug a Visual Coding script? | Aquro Help Center

Debugging Visual Coding (VC) scripts may be done from the Aquro App Studio's preview window along the right side of the screen.

All Visual Coding scripts executed in the app preview window are logged for debugging purposes.

To view the debugging window follow these steps:

  1. Locate and click on the debug icon (it looks like a creepy crawly bug!) found right above the app preview window.
  2. A window will now open containing the 250 most recent log entries your Visual Coding Scripts have generated.

To the left side of the debug window you will see a list of rows, these are all the log entries that Visual Coding have generated. Each row has a Timestamp, Page, Source, and Event.

Timestamp:

When this event was logged

Page:

On which page was this script executed

Source:

Which VC block generated this log entry

Event:

Each VC block call consists of three different events: Start, End, and Next
Start: When the block is called
End: When the block exited
Next: When the next step in the workflow should be called

To view the details of an event click on the log entry in the list. You will now see three different areas to the right:

General information

The basic information about this event

Event data

Based on what event type the log entry is, you will see varying information here:

Page State

This area will list all the values that exist in the Page.State object. This is the current state and data items of your current page.