com.pvx.ooadide.launchers.debug.model
Class PVXDebugElement

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by com.pvx.ooadide.launchers.debug.model.PVXDebugElement
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement
Direct Known Subclasses:
PVXDebugTarget, PVXStackFrame, PVXThread, PVXValue, PVXVariable

public class PVXDebugElement
extends org.eclipse.debug.core.model.DebugElement


Constructor Summary
PVXDebugElement(org.eclipse.debug.core.model.IDebugTarget target)
          Constructs a new debug element in the given target.
 
Method Summary
 java.lang.String getModelIdentifier()
           
 java.lang.String sendRequest(java.lang.String request)
          Sends a request to the PDA interprettor, waits for and returns the reply.
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PVXDebugElement

public PVXDebugElement(org.eclipse.debug.core.model.IDebugTarget target)
Constructs a new debug element in the given target.

Parameters:
target - debug target
Method Detail

getModelIdentifier

public java.lang.String getModelIdentifier()

sendRequest

public java.lang.String sendRequest(java.lang.String request)
                             throws org.eclipse.debug.core.DebugException
Sends a request to the PDA interprettor, waits for and returns the reply.

Interprettor commands and replies are as follows:

Parameters:
request - command
Returns:
reply
Throws:
org.eclipse.debug.core.DebugException - if the request fails