<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class sun.tools.debug.RemoteThread
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-sun.tools.debug.html">This Package</a>  <a href="sun.tools.debug.RemoteString.html#_top_">Previous</a>  <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class sun.tools.debug.RemoteThread
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="sun.tools.debug.RemoteValue.html#_top_">sun.tools.debug.RemoteValue</a>
           |
           +----<a href="sun.tools.debug.RemoteObject.html#_top_">sun.tools.debug.RemoteObject</a>
                   |
                   +----sun.tools.debug.RemoteThread
</pre>
<hr>
<dl>
  <dt> public class <b>RemoteThread</b>
  <dt> extends <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>
</dl>
The RemoteThread class allows access to a thread in a remote Java
 interpreter.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="sun.tools.debug.RemoteDebugger.html#_top_">RemoteDebugger</a>, <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">RemoteThreadGroup</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#cont()"><b>cont</b></a>()
  <dd>  Resume this thread from a breakpoint, unless it previously suspended.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#down(int)"><b>down</b></a>(int)
  <dd>  Change the current stackframe to be one or more frames lower
 (as in, toward the current program counter).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#dumpStack()"><b>dumpStack</b></a>()
  <dd>  Dump the stack.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCurrentFrame()"><b>getCurrentFrame</b></a>()
  <dd>  Get the current stack frame.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCurrentFrameIndex()"><b>getCurrentFrameIndex</b></a>()
  <dd> Return the current stackframe index
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getName()"><b>getName</b></a>()
  <dd>  Return the name of the thread.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getStackVariable(java.lang.String)"><b>getStackVariable</b></a>(String)
  <dd>  Return a stack variable from the current stackframe.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getStackVariables()"><b>getStackVariables</b></a>()
  <dd>  Return the arguments and local variable from the current stackframe.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getStatus()"><b>getStatus</b></a>()
  <dd>  Return the thread status description.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isSuspended()"><b>isSuspended</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#next()"><b>next</b></a>()
  <dd>  Continue execution of this thread to the next line, but don't step
 into a method call.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#resetCurrentFrameIndex()"><b>resetCurrentFrameIndex</b></a>()
  <dd> Reset the current stackframe
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#resume()"><b>resume</b></a>()
  <dd>  Resume execution of this thread.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setCurrentFrameIndex(int)"><b>setCurrentFrameIndex</b></a>(int)
  <dd> Set the current stackframe index
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#step(boolean)"><b>step</b></a>(boolean)
  <dd>  Continue execution of this thread to the next instruction or line.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#stepOut()"><b>stepOut</b></a>()
  <dd> 
 Continue execution of this thread until it returns.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#stop()"><b>stop</b></a>()
  <dd>  Stop the remote thread.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#suspend()"><b>suspend</b></a>()
  <dd>  Suspend execution of this thread.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#up(int)"><b>up</b></a>(int)
  <dd>  Change the current stackframe to be one or more frames higher
 (as in, away from the current program counter).
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getName"><b>getName</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getName() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return the name of the thread.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getCurrentFrameIndex()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCurrentFrameIndex"><b>getCurrentFrameIndex</b></a>
<pre>
 public int getCurrentFrameIndex()
</pre>
<dl>
  <dd> Return the current stackframe index
<p>
</dl>
<a name="setCurrentFrameIndex(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setCurrentFrameIndex"><b>setCurrentFrameIndex</b></a>
<pre>
 public void setCurrentFrameIndex(int iFrame)
</pre>
<dl>
  <dd> Set the current stackframe index
<p>
</dl>
<a name="resetCurrentFrameIndex()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="resetCurrentFrameIndex"><b>resetCurrentFrameIndex</b></a>
<pre>
 public void resetCurrentFrameIndex()
</pre>
<dl>
  <dd> Reset the current stackframe
<p>
</dl>
<a name="up(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="up"><b>up</b></a>
<pre>
 public void up(int nFrames) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Change the current stackframe to be one or more frames higher
 (as in, away from the current program counter).
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> nFrames - the number of stackframes
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.ArrayIndexOutOfBoundsException.html#_top_">ArrayIndexOutOfBoundsException</a>
    <dd> when the requested frame is beyond the stack boundary
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="down(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="down"><b>down</b></a>
<pre>
 public void down(int nFrames) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Change the current stackframe to be one or more frames lower
 (as in, toward the current program counter).
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> nFrames - the number of stackframes
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.ArrayIndexOutOfBoundsException.html#_top_">ArrayIndexOutOfBoundsException</a>
    <dd> when the requested frame is beyond the stack boundary
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getStatus()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getStatus"><b>getStatus</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getStatus() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return the thread status description.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="dumpStack()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="dumpStack"><b>dumpStack</b></a>
<pre>
 public <a href="sun.tools.debug.RemoteStackFrame.html#_top_">RemoteStackFrame</a>[] dumpStack() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Dump the stack.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getCurrentFrame()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCurrentFrame"><b>getCurrentFrame</b></a>
<pre>
 public <a href="sun.tools.debug.RemoteStackFrame.html#_top_">RemoteStackFrame</a> getCurrentFrame() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Get the current stack frame.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="suspend()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="suspend"><b>suspend</b></a>
<pre>
 public void suspend() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Suspend execution of this thread.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="resume()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="resume"><b>resume</b></a>
<pre>
 public void resume() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Resume execution of this thread.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="step(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="step"><b>step</b></a>
<pre>
 public void step(boolean skipLine) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Continue execution of this thread to the next instruction or line.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> skipLine - true to execute to next source line, false to
 next instruction.
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="next()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="next"><b>next</b></a>
<pre>
 public void next() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Continue execution of this thread to the next line, but don't step
 into a method call.  If no line information is available, next()
 is equivalent to step().
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="stepOut()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="stepOut"><b>stepOut</b></a>
<pre>
 public void stepOut() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Continue execution of this thread until it returns. If a return address        
 is not available, stepOut() is equivalent to step().                           
 Courtesy of Gordon Hirsch of SAS.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.IllegalAccessError.html#_top_">IllegalAccessError</a>
    <dd> when the thread isn't suspended or waiting at a breakpoint
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="isSuspended()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isSuspended"><b>isSuspended</b></a>
<pre>
 public boolean isSuspended()
</pre>
<a name="cont()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="cont"><b>cont</b></a>
<pre>
 public void cont() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Resume this thread from a breakpoint, unless it previously suspended.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="stop()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="stop"><b>stop</b></a>
<pre>
 public void stop() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Stop the remote thread.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getStackVariable(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getStackVariable"><b>getStackVariable</b></a>
<pre>
 public <a href="sun.tools.debug.RemoteStackVariable.html#_top_">RemoteStackVariable</a> getStackVariable(<a href="java.lang.String.html#_top_">String</a> name) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return a stack variable from the current stackframe.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the variable as a RemoteValue, or null if not found.
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getStackVariables()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getStackVariables"><b>getStackVariables</b></a>
<pre>
 public <a href="sun.tools.debug.RemoteStackVariable.html#_top_">RemoteStackVariable</a>[] getStackVariables() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return the arguments and local variable from the current stackframe.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> an array of RemoteValues.
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-sun.tools.debug.html">This Package</a>  <a href="sun.tools.debug.RemoteString.html#_top_">Previous</a>  <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
