24.1 Viewing the Error Log

The Error Log view can help you troubleshoot. If something isn’t working, messages written to the error log might help you. The log is named .log. It is a hidden file.

To view the error log, you can use menus or browse the file system.

24.1.1 Using Menus

  1. Select Window > Show View > Other > PDE Runtime > Error Log.

  2. Click OK.

If you view the log through the application, a list of messages displays.

Figure 24-1 The Error Log

For details, double-click a message. (You can also right-click, then select Event Details.)

To sort messages, click the appropriate header bar.

To use the Error Log view toolbar, right-click a message. The toolbar allows you to copy the log, clear the log viewer, delete, open, restore, export, import, and view the event’s details.

To set filters for the types (and number) of messages to see:

  1. On the Error Log view toolbar, click the filter icon.

    The Filters option
  2. Select Filters.

  3. Customize the filter settings, then click OK.

    Customized Filter settings

24.1.2 Browsing the File System

  1. Browse to your Designer workspace.

    In Windows, the log file is typically in subfolders in the /eclipse/workspace/.metadata directory.

    In Linux, the log file is typically in the Home directory, in the / eclipse/workspace/.metadata directory.

  2. Open the log file.