|
@@ -58,12 +58,12 @@ Perform code covering functions by comparing source code line execution to the p |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">home</td> |
|
|
|
|
|
|
|
|
<td valign="top">home</td> |
|
|
<td valign="top">The directory where JProbe is installed.</td> |
|
|
<td valign="top">The directory where JProbe is installed.</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">vm</td> |
|
|
|
|
|
|
|
|
<td valign="top">vm</td> |
|
|
<td valign="top"> |
|
|
<td valign="top"> |
|
|
Indicates which virtual machine to run. |
|
|
Indicates which virtual machine to run. |
|
|
Must be one of "jdk117", "jdk118" or "java2".If "java2" is specified, the user is |
|
|
Must be one of "jdk117", "jdk118" or "java2".If "java2" is specified, the user is |
|
@@ -73,13 +73,13 @@ Perform code covering functions by comparing source code line execution to the p |
|
|
<td align="center" valign="top">No, default to embedded VM if 1.2+</td> |
|
|
<td align="center" valign="top">No, default to embedded VM if 1.2+</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">javaexe</td> |
|
|
|
|
|
|
|
|
<td valign="top">javaexe</td> |
|
|
<td valign="top">The path to the java executable.</td> |
|
|
<td valign="top">The path to the java executable.</td> |
|
|
<td align="center" valign="top">No, use only for java2 vm.</td> |
|
|
<td align="center" valign="top">No, use only for java2 vm.</td> |
|
|
</tr> |
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">applet</td> |
|
|
|
|
|
|
|
|
<td valign="top">applet</td> |
|
|
<td valign="top">Run an applet. The default is false, unless the file under |
|
|
<td valign="top">Run an applet. The default is false, unless the file under |
|
|
analysis ends with htm or html.</td> |
|
|
analysis ends with htm or html.</td> |
|
|
<td align="center" valign="top">No, default is "false".</td> |
|
|
<td align="center" valign="top">No, default is "false".</td> |
|
@@ -90,19 +90,19 @@ Perform code covering functions by comparing source code line execution to the p |
|
|
seed.jpc, seed1.jpc, seed2.jpc, ...)</td> |
|
|
seed.jpc, seed1.jpc, seed2.jpc, ...)</td> |
|
|
<td align="center" valign="top">No, default to "snapshot"</td> |
|
|
<td align="center" valign="top">No, default to "snapshot"</td> |
|
|
</tr> |
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">exitprompt</td> |
|
|
|
|
|
|
|
|
<td valign="top">exitprompt</td> |
|
|
<td valign="top">Toggles display of the console prompt: "Press Enter to close |
|
|
<td valign="top">Toggles display of the console prompt: "Press Enter to close |
|
|
this window." "always": Always displays the prompt. "never": Never displays the |
|
|
this window." "always": Always displays the prompt. "never": Never displays the |
|
|
prompt. "error": Only displays prompt after an error.</td> |
|
|
prompt. "error": Only displays prompt after an error.</td> |
|
|
<td align="center" valign="top">No, default is "never"</td> |
|
|
<td align="center" valign="top">No, default is "never"</td> |
|
|
</tr> |
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">finalsnapshot</td> |
|
|
|
|
|
|
|
|
<td valign="top">finalsnapshot</td> |
|
|
<td valign="top">Type of snapshot to send at program termination. Must be one |
|
|
<td valign="top">Type of snapshot to send at program termination. Must be one |
|
|
of "none","coverage","all"</td> |
|
|
|
|
|
|
|
|
of "none","coverage","all"</td> |
|
|
<td align="center" valign="top">No, default to "coverage"</td> |
|
|
<td align="center" valign="top">No, default to "coverage"</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
@@ -128,13 +128,13 @@ Perform code covering functions by comparing source code line execution to the p |
|
|
<td valign="top">workingdir</td> |
|
|
<td valign="top">workingdir</td> |
|
|
<td valign="top">The physical path to the working directory for the VM.</td> |
|
|
<td valign="top">The physical path to the working directory for the VM.</td> |
|
|
<td align="center" valign="top">No, default is current directory.</td> |
|
|
<td align="center" valign="top">No, default is current directory.</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">tracknatives</td> |
|
|
<td valign="top">tracknatives</td> |
|
|
<td valign="top">Test native methods. Note that testing native methods with |
|
|
<td valign="top">Test native methods. Note that testing native methods with |
|
|
Java 2 disables the JIT</td> |
|
|
Java 2 disables the JIT</td> |
|
|
<td align="center" valign="top">No, default to "false".</td> |
|
|
<td align="center" valign="top">No, default to "false".</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">classname</td> |
|
|
<td valign="top">classname</td> |
|
|
<td valign="top">the name of the class to analyze.</td> |
|
|
<td valign="top">the name of the class to analyze.</td> |
|
@@ -175,7 +175,7 @@ attributes, as described in <a href="../using.html#arg">Command line arguments</ |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
<h4>socket</h4> |
|
|
<h4>socket</h4> |
|
|
<p>Define a host and port to connect to if you want to do remote viewing. |
|
|
|
|
|
|
|
|
<p>Define a host and port to connect to if you want to do remote viewing. |
|
|
</p> |
|
|
</p> |
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
<tr> |
|
|
<tr> |
|
@@ -184,15 +184,15 @@ attributes, as described in <a href="../using.html#arg">Command line arguments</ |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">host</td> |
|
|
|
|
|
|
|
|
<td valign="top">host</td> |
|
|
<td valign="top">the host name/ip of the machine on which the Viewer is running</td> |
|
|
<td valign="top">the host name/ip of the machine on which the Viewer is running</td> |
|
|
<td align="center">No, default to localhost</td> |
|
|
<td align="center">No, default to localhost</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">port</td> |
|
|
|
|
|
|
|
|
<td valign="top">port</td> |
|
|
<td valign="top">The port number on which you will connect to the Viewer</td> |
|
|
<td valign="top">The port number on which you will connect to the Viewer</td> |
|
|
<td align="center">No, default to 4444</td> |
|
|
<td align="center">No, default to 4444</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -200,7 +200,7 @@ attributes, as described in <a href="../using.html#arg">Command line arguments</ |
|
|
<h4>filters</h4> |
|
|
<h4>filters</h4> |
|
|
|
|
|
|
|
|
<p>Defines class/method filters based on pattern matching. |
|
|
<p>Defines class/method filters based on pattern matching. |
|
|
The syntax is filters is similar to a <a href="../CoreTypes/fileset.html">fileset</a>. |
|
|
|
|
|
|
|
|
The syntax for filters is similar to a <a href="../CoreTypes/fileset.html">fileset</a>. |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
@@ -210,14 +210,14 @@ The syntax is filters is similar to a <a href="../CoreTypes/fileset.html">filese |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">defaultexclude</td> |
|
|
|
|
|
|
|
|
<td valign="top">defaultexclude</td> |
|
|
<td valign="top">As a default, the coverage excludes all classes and methods. |
|
|
<td valign="top">As a default, the coverage excludes all classes and methods. |
|
|
Default filters are equivalent to |
|
|
Default filters are equivalent to |
|
|
<pre> |
|
|
<pre> |
|
|
<filters> |
|
|
<filters> |
|
|
<exclude class="*" method="*"/> |
|
|
<exclude class="*" method="*"/> |
|
|
</filters> |
|
|
</filters> |
|
|
</pre> |
|
|
|
|
|
|
|
|
</pre> |
|
|
</td> |
|
|
</td> |
|
|
<td align="center">No, default to "true"</td> |
|
|
<td align="center">No, default to "true"</td> |
|
|
</tr> |
|
|
</tr> |
|
@@ -234,17 +234,17 @@ with a <tt>name</tt> attribute. |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">class</td> |
|
|
|
|
|
|
|
|
<td valign="top">class</td> |
|
|
<td valign="top">The class mask as a simple regular expression</td> |
|
|
<td valign="top">The class mask as a simple regular expression</td> |
|
|
<td align="center">No, defaults to "*"</td> |
|
|
<td align="center">No, defaults to "*"</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">method</td> |
|
|
|
|
|
|
|
|
<td valign="top">method</td> |
|
|
<td valign="top">The method mask as a simple regular expression</td> |
|
|
<td valign="top">The method mask as a simple regular expression</td> |
|
|
<td align="center">No, defaults to "*"</td> |
|
|
<td align="center">No, defaults to "*"</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">enabled</td> |
|
|
|
|
|
|
|
|
<td valign="top">enabled</td> |
|
|
<td valign="top">is the filter enabled?</td> |
|
|
<td valign="top">is the filter enabled?</td> |
|
|
<td align="center">No, defaults to true</td> |
|
|
<td align="center">No, defaults to true</td> |
|
|
</tr> |
|
|
</tr> |
|
@@ -281,22 +281,22 @@ on method) and it has the following attributes: |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">name</td> |
|
|
|
|
|
|
|
|
<td valign="top">name</td> |
|
|
<td valign="top">The name of the method(s) as a regular expression. The name |
|
|
<td valign="top">The name of the method(s) as a regular expression. The name |
|
|
is the fully qualified name on the form <tt>package.classname.method</tt></td> |
|
|
is the fully qualified name on the form <tt>package.classname.method</tt></td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">event</td> |
|
|
|
|
|
|
|
|
<td valign="top">event</td> |
|
|
<td valign="top">the event on the method that will trigger the action. Must be |
|
|
<td valign="top">the event on the method that will trigger the action. Must be |
|
|
"enter" or "exit".</td> |
|
|
"enter" or "exit".</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">action</td> |
|
|
|
|
|
|
|
|
<td valign="top">action</td> |
|
|
<td valign="top">the action to execute. Must be one of "clear", |
|
|
<td valign="top">the action to execute. Must be one of "clear", |
|
|
"pause", "resume", "snapshot", "suspend", |
|
|
"pause", "resume", "snapshot", "suspend", |
|
|
or "exit". They respectively clear recording, pause recording, |
|
|
|
|
|
|
|
|
or "exit". They respectively clear recording, pause recording, |
|
|
resume recording, take a snapshot, suspend the recording and exit the program. |
|
|
resume recording, take a snapshot, suspend the recording and exit the program. |
|
|
</td> |
|
|
</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
|
<td align="center" valign="top">Yes</td> |
|
@@ -307,7 +307,7 @@ on method) and it has the following attributes: |
|
|
<blockquote> |
|
|
<blockquote> |
|
|
<pre><triggers> |
|
|
<pre><triggers> |
|
|
<method name="ClassName.*()" event="enter" action="snapshot"/> |
|
|
<method name="ClassName.*()" event="enter" action="snapshot"/> |
|
|
<method name="ClassName.MethodName()" event="exit" action="exit"/> |
|
|
|
|
|
|
|
|
<method name="ClassName.MethodName()" event="exit" action="exit"/> |
|
|
</triggers> |
|
|
</triggers> |
|
|
</pre> |
|
|
</pre> |
|
|
</blockquote> |
|
|
</blockquote> |
|
@@ -476,12 +476,12 @@ with a <tt>class </tt>and <tt>method </tt>attribute. |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
<td width="10%" valign="top"><b>Required</b></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">class</td> |
|
|
|
|
|
|
|
|
<td valign="top">class</td> |
|
|
<td valign="top">The class mask as a simple regular expression</td> |
|
|
<td valign="top">The class mask as a simple regular expression</td> |
|
|
<td align="center">No, default to *</td> |
|
|
<td align="center">No, default to *</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">method</td> |
|
|
|
|
|
|
|
|
<td valign="top">method</td> |
|
|
<td valign="top">The method mask as a simple regular expression</td> |
|
|
<td valign="top">The method mask as a simple regular expression</td> |
|
|
<td align="center">No, default to *</td> |
|
|
<td align="center">No, default to *</td> |
|
|
</tr> |
|
|
</tr> |
|
@@ -542,4 +542,4 @@ one for JUnit. It needs either Xalan 1.2.2 or Xalan 2.x.</p> |
|
|
<p align="center">Copyright © 2001-2002,2004-2005 The Apache Software Foundation. All rights |
|
|
<p align="center">Copyright © 2001-2002,2004-2005 The Apache Software Foundation. All rights |
|
|
Reserved.</p> |
|
|
Reserved.</p> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
|
|
|
|
|
|
</html> |