Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The development plugin must The development tools component must be installed before you can use the development debug bartoolbar. This bar toolbar is by default located at the top side of your page once a project is started and can be used to debug / or inspect the running session. The debug bar contains a number of menu items which are described in the follow paragraphs.

Table of contents

Table of Contents

Subpages

Children Display

Session Selector

This functionality is essential when using a dashboard. It is possible to put multiple widgets on a dashboard. By using the session selector, it is possible to switch to a selected widget and inspect its profile.

Info

Not all the debug tools can be made session specific. Those that are session specific have a header stating Session specific tools. Those that are not session specific have a header named Main session tools.

Debug

By selecting this menu a pop up appears with information and features that can be used for easy debugging and developing.

Rule graph XML 

This option will display the Rule Graph XML. This file displays which inference rules and validation rules where used to determine or validate an attribute value.

Info

Please note this option is only available in the Java Runtime.

Portal State XML

This option will display the Portal State XML. This file contains the current flow path including transactions.

Info

Please note this option is only available in the Java Runtime.

Page source

This option will display the page XML, an XML representation of a rendered ( or calculated ) page.

Info

Please note this option is only available in the Java Runtime in combination with XSLT styling.

If you are interested in the JSON response of the MVC UI, then you can do the following:

Expand
titleReceive JSON Response In Chrome

When a flow is started, press F12 to start DevTools. Click Network, XHR. Press F5 to reload the current page. You will see something similar as below. Look for an entry that does a POST, and has a GUID as name. By clicking on it you get the JSON response.

Image Removed

 

 

Recompose page

Reload current project

 This item will allow you to reload the project definition from your current session. This This menu will recompose the page. Combined with reload current project this will allow you to quickly test small changes to your model.

Info

Please note this option does not always work in combination with complex changes.

View log

...

,

...

Info

This is the log file for the server that runs the project, when multiple users are logged in it contains the log for actions for all these users.

Reset UIs

...

for instance in your domain model.

Session selector

This menu allows you to influence the active session. The following features are available.

Reload current project

 This menu will allow you to reload your project. Combined with recompose page this will allow you to quickly test small changes to your model.

Info

Please note this option does not always work in combination with complex changes.

Save session

This menu will allow you to save the current session to an XML file on the server. You can use the Restore a session widget from the development dashboard to restart your project with the saved session data.

Export profile

The profile contains all session data. By selecting this option you can store the current session data as an XML file. You can use this file as a basis for unit tests or quickly start a new session without having to enter all data.

Info

Please note this option is only available in the Java Runtime. You can still export the profile via the profile menu in .NET.

End Session

Clicking the button will end the main session

functionality is essential when using a dashboard. It is possible to put multiple widgets on a dashboard. By using the session selector, it is possible to switch to a selected widget and inspect its profile or piece of the front-end as decribed in the next paragraphs.

Profile

The profile contains all session data. By selecting this option a popup window appears with three tabs.

...

the toolbar opens bigger and shows more session data.

Instance management

The profile explorer allows you to view and edit all current instances in the session data. By clicking on an entity, the values of all attributes are shown . Clicking on the Image Removed in the utmost right column will bring up a screen where the decision requirements graph is shown.

...

in the attribute management. Using the add or delete buttons allows you to manually manipulate the session data (tba).

Attribute management

This option will allow you to store manage the current session data as an XML file. You can use this file to quickly start a new session with existing data. You can also import this file in Studio to create a unit test.attribute values. You can easily see the source type and see, clear or edit the attribute value(s). 

Evaluate expression

This option will allow you to write and test and expression on live session data.

Info

Please note this option is only available in the Java Runtime.

Switch

This menu allows you to switch language or theme.

Page explorer

It can evaluate to a selected instance from the instance management, or globally. You may also use the expression evaluator in the Quick test in Encore.

Element explorer

The element The page explorer displays all elements that are part of the runtime page model. This feature can be very useful to determine if the theme displays all page elements correctly.

Info

Please note this option is only available in the Java Runtime.

Live Log

This menu displays a live preview of the runtime log. After the pop-up for the live log is opened it will start displaying its log. The clear button will clear the live log

Info

Please note this option is only available in the Java Runtime. You can still view the log file via the file system.

Info

This is the log file for the server that runs the project, when multiple users are logged in it contains the log for actions for all these users.

Remove toolbar

This menu will remove the debug bar.

...

Turn on the element selection in the toolbar and you can select any item on the page of your session. Its values are then shown in the element explorer. From the selected element you can navigate to its parent or child element in the explorer. Or you can use the selector to view the data of a different item on the page.

Close toolbar

This option allow you to minimize the toolbar to a small button overlayed on your session. Click the button again and the toolbar will open to its normal mode.