Recent Changes - Search:

JSnapshot User Guide

Launch configuration

JSnapshot provides two launch modes:

  • Run with JSnapshot
  • Debug with JSnapshot

Each launch mode offers a set launch types. Each type of launch configuration defines a group of tabs that collect and display information about the configuration. Each of these groups of launch configuration contains JSnapshot launch configuration tab.

JSnapshot launch configuration tab has two pages:

1. General page

The General page allows you to provide configuration for JSnapshot agent.

Output FolderProvide folder where you want snapshot files to be saved for this launch configuration. By default workspace plug-in metadata folder is selected.
Translates into output_folder command line option.
Output SizeSpecify snapshot file size limit (in megabytes). JSnapshot agent will stop saving exception snapshots if size of snapshot file exceeds given size.
Translates into output_size command line option.
Port NumberSpecify port number to be used by agent. Translates into port command line option.
Start recording when application startsSelect this option to start recording exception snapshots when application starts. Otherwise exception recording will be paused when application starts.
Translates into record command line option.
Maximum Object DepthSpecify maximum depth of object structure to save.
Translates into max_object_depth command line option.
Maximum Stack FramesSpecify maximum number of stack frames to save.
Translates into max_stack_frames command line option.
Group Similar ExceptionsSelect this option to enable similar exception grouping. Exceptions are similar if they were thrown from the same location, were caught at the same location and have the same java class. Grouping means that only the first similar exception image is saved. For all other similar exceptions it saves their message and timestamp only.
Translates into group_similar_exceptions command line option.
Similar Stack FramesSpecifies number of stack frames for exception similarity criteria. Similar exceptions must have specified number of equal top stack frames. Otherwise exceptions are not similar.
Translates into group_similar_stack_frames command line option.
Maximum Time IntervalSpecifies maximum time interval in seconds for exception similarity criteria. Time interval between similar exceptions must be less than specified one. Otherwise exceptions are not similar.
Translates into group_similar_threshold_seconds command line option.

2. Filters page

The Filters page allows you to configure exception filtering for JSnapshot agent.

Filter exceptions caught in in java.* classes.Select this option to filter out exceptions that are caught in class defined in java.* packages.
Translates into filter_java command line option.
Filter exceptions caught in in sun.* classes.Select this option to filter out exceptions that are caught in class defined in sun.* packages.
Translates into filter_sun command line option.
Exception filter tableAdd exception filters to filter out exceptions which properties matches specified POSIX regular expression.
Translates into filter_catch, filter_throw, filter_exception_class and filter_exception_message command line options.

Use Export Options... button to export options to the file and use them with JSnapshot agent in the headless mode.

Use Import Options... button to import options from the file.

JSnapshot launch configuration tab shows the size of all snapshot files saved for current launch configuration in the workspace plug-in metadata folder. You can delete saved snapshot files selectivly using Delete Snapshots... button.

Edit - History - Print - Recent Changes - Search
Page last modified on July 24, 2011, at 07:36 PM