Last modified on 11 May 2015, at 18:30

Event Tracer

Revision as of 18:30, 11 May 2015 by KNO (Talk | contribs) (Context Menu)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Event Tracer

The Event Tracer monitors and visualizes events occuring in the UBIK® system environment immediately, while the event data is also written by the logging mechanism in the background. This enables the user to watch events as they happen without the need to open log files. These events can be errors and warnings as well as messages generated out of the customizing code for debugging purposes (see logging category types).

Logging list

The list shows all events that occured 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 occured as well as the time that elapsed, which is updated frequently. Every entry then can be expanded to show the full information included in this event.

Message Types

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

Icon Type Content
IC EventTracer Error.png 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
IC EventTracer Warning.png Warning events that have to be investigated because they are potentially important to the productive use of the system (marked with yellow warning symbol)
IC EventTracer Message.png 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:

Icon Item Purpose
IC EventTracer categories.png 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
IC EventTracer orderbytimeasc.png 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
IC EventTracer orderbycatdesc.png 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
IC EventTracer expandall.png Expand all items this will expand all list entries to show all the information behind
IC EventTracer collapseall.png Collapse all items this will collapse all list entries to show their headers only
IC EventTracer copy.png Copy to Clipboard this will copy the content of the currently selected event(s)
IC EventTracer copyAll.png Copy all to Clipboard this will copy the content of the all listed events to the clipboard
IC EventTracer SaveHS.png Save to file Saves the content of the currently selected event(s) to a text file
IC EventTracer SaveAllHS.png Save all to file Saves the content of the all listed events to a text file
IC EventTracer removeall.png Clear all items Clears the event list

Status bar

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

  • number of each event type; clicking these items will also hide or show the respective type of events in the list.
  • last event including the 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:

Icon Item Purpose
IC EventTracer copy.png Copy to Clipboard Copy the content of the currently selected event(s)
IC EventTracer copyAll.png Copy all to Clipboard Copy the content of all listed events to the clipboard
IC EventTracer SaveHS.png Save to file Save the content of the currently selected event(s) to a text file
IC EventTracer SaveAllHS.png Save all to file Save the content of all listed events to a text file
IC EventTracer navigateto.png Navigate to... Navigate to the UBIK® object involved in this message; this menu item is only enabled if there is information about the involved object

See also