Last modified on 16 March 2015, at 10:53

Event Tracer

Revision as of 10:53, 16 March 2015 by BMA (Talk | contribs)

Event Tracer

The Event Tracer is meant for the Studio user to monitor events happening in the system environment of UBIK®. It is used to visualize events immediately in Studio while they are written by the logging mechanism in the background. This gives the Studio user the possibility to watch events as they happen in the system without the need to open the log files. These events can be errors and warnings but can also be messages that are for example generated out of the customizing code for debugging.

Logging list

The list shows all events that happened since the start of the Studio session. Every entry has an information header shown in the list, consisting of the type and the time it happened as well as the time that elapsed since it happened, which is updated frequently. Every entry then can be expanded to show the full amount of infomation included in this event:

Message Types

UBIK® Event Tracer is able to show the following event types:

Message type Content
Error events the user should pay high attention to because the system is in a vulnerable state (marked with red error symbol); if the error message also provides a stack trace, the stacktrace will be shown on the right of the list box
Warning events that have to be investigated because they are potentially important to the productive use of the system (marked with yellow warning symbol)
Message events that support the user in debugging or finding problems in general (marked with blue message symbol)

Toolbar

The Event Tracer features a toolbar with the following items, from left to right:

Item Purpose
Select Category Here the user can check or uncheck the categories to be shown in the list; changing this will hide or show the selected category of events in the list
Sort by time stamp this will sort the entries by the time stamp; clicking this repeatedly will change the direction of the sorting between ascending and descending time stamp
Sort by category this will sort the entries by the level of importance; clicking this repeatedly will change the direction of the sorting between important messages shown on top or at the bottom of the list
Expand all items this will expand all list entries to show all the information behind
Collapse all items this will collapse all list entries to show their headers only
Copy to Clipboard this will copy the content of the currently selected event(s)
Copy all to Clipboard this will copy the content of the all listed events to the clipboard
Save to file Saves the content of the currently selected event(s) to a text file
Save all to file Saves the content of the all listed events to a text file
Clear all items Clears the event list

Status bar

The Event Tracer features a status bar at the bottom showing the fololwing information:

  • number of each event type; clicking these items will also hide or show the respective type of events int the list.
  • last event including time stamp; clicking on this item will automatically show and select the item in the events list.

Context Menu

By right-clicking an event in the list, a context menu is shown:

Item Purpose
Copy to Clipboard this will copy the content of the currently selected event(s)
Copy all to Clipboard this will copy the content of the all listed events to the clipboard
Save to file Saves the content of the currently selected event(s) to a text file
Save all to file Saves the content of the all listed events to a text file
Navigate to... Navigate to the ubik object involved in this message; this menu item is only enabled if there is information about the involved UBIK object included in the message