cattails

Blue Marsh Softworks

 Site Index
 o java projects
 o about me
 o search

 My Java
 o java tips
 o java faq
 o contributing
 General Java
 o JavaSoft
 o Developer Connection
 o The Java FAQ
 o Java Glossary

 JSwat
 o download
 o documentation
 o faq
 o mail lists
 o contributing
 o bugs
 Related Software
 o JPDA
 o Emacs JDEE
 o JDBTool
 o jEdit plugin
 o Jenus
 o NetBeans
 Related Links
 o Top Ten Reasons Not to Use a Java Debugger in School

JSwat Settings

2.x Versions

The 2.x versions of JSwat store all of the settings in nodes of type java.util.prefs.Preferences, the class provided in JDK v1.4 and later. This data is stored in a system-dependent location. On Windows the data is stored in the registry, while on Unix the data is stored in ~/.java/.userPrefs/.

1.x Versions

There are several types of settings, all of which are saved to a directory called .jswat in your home directory. These settings are briefly described below.

Breakpoints

The current breakpoints are saved to a file called breakpoints in the JSwat settings directory (described above). This file is a serialized version of the breakpoint objects and cannot be read or edited easily.

Session Properties

Session properties are settings that relate to the session and are used by the JSwat actions and commands to persist information for the next time they are needed. These include the name of the class being debugged, whether the debuggee VM starts up suspended, and the options passed to the debuggee VM. The settings are stored in the session file in the JSwat settings directory (described above). This file is a standard Java properties file and is humanly editable.

Application Settings

These settings effect the application as a whole, such as the size and position of the main window and the look and feel. These are stored in settings in the JSwat settings directory (described above). This file is a standard Java properties file and is humanly editable.

User Preferences

These are your user preferences that you set through the Preferences dialog or options command. These are stored in preferences in the JSwat settings directory (described above). This file is a form of GML (Graph Modeling Language) and is humanly editable, assuming you understand GML.

Ephemeral Settings

Some of the settings in JSwat are only temporary for the life of the program. These are not saved to any file although they last long enough to be useful while running JSwat. These settings include:

  • Capture Messages filename and checkbox values.
© Copyright 2000-2002 - Blue Marsh Softworks