PTP
Release 7.0

org.eclipse.ptp.debug.core.event
Interface IPDebugEvent


public interface IPDebugEvent

Base interface for debugger events


Field Summary
static int BREAKPOINT
          Breakpoint detail.
static int CHANGE
          Change event kind.
static int CLIENT_REQUEST
          Client request detail.
static int CONTENT
          Content change detail.
static int CREATE
          Create event kind.
static int DEBUGGER
          Debugger detail.
static int ERR_FATAL
           
static int ERR_NORMAL
           
static int ERR_WARNING
           
static int ERROR
          Error event kind or detail
static int EVALUATION
          Evaluation detail.
static int EVALUATION_IMPLICIT
          Evaluation detail.
static int PROCESS_SPECIFIC
          Process specific event detail.
static int REGISTER
          Register detail.
static int RESUME
          Resume event kind.
static int STATE
          State change detail.
static int STEP_END
          Step end detail.
static int STEP_INTO
          Step start detail.
static int STEP_OVER
          Step start detail.
static int STEP_RETURN
          Step start detail.
static int SUSPEND
          Suspend event kind.
static int TERMINATE
          Terminate event kind.
static int UNSPECIFIED
          Constant indicating that the kind or detail of a debug event is unspecified.
 
Method Summary
 int getDetail()
          Get the event detail
 IPDebugInfo getInfo()
          Get the event info
 int getKind()
          Get the event kind
 Object getSource()
          Get the event source
 boolean isEvaluation()
          Check if this is an evaluation event
 boolean isStepStart()
          Check if this is a step start event
 

Field Detail

RESUME

static final int RESUME
Resume event kind.

See Also:
Constant Field Values

SUSPEND

static final int SUSPEND
Suspend event kind.

See Also:
Constant Field Values

CREATE

static final int CREATE
Create event kind.

See Also:
Constant Field Values

TERMINATE

static final int TERMINATE
Terminate event kind.

See Also:
Constant Field Values

CHANGE

static final int CHANGE
Change event kind.

See Also:
Constant Field Values

ERROR

static final int ERROR
Error event kind or detail

See Also:
Constant Field Values

PROCESS_SPECIFIC

static final int PROCESS_SPECIFIC
Process specific event detail.

Since:
2.1.2
See Also:
Constant Field Values

STEP_INTO

static final int STEP_INTO
Step start detail. Indicates a thread was resumed by a step into action.

Since:
2.0
See Also:
Constant Field Values

STEP_OVER

static final int STEP_OVER
Step start detail. Indicates a thread was resumed by a step over action.

Since:
2.0
See Also:
Constant Field Values

STEP_RETURN

static final int STEP_RETURN
Step start detail. Indicates a thread was resumed by a step return action.

Since:
2.0
See Also:
Constant Field Values

STEP_END

static final int STEP_END
Step end detail. Indicates a thread was suspended due to the completion of a step action.

See Also:
Constant Field Values

BREAKPOINT

static final int BREAKPOINT
Breakpoint detail. Indicates a thread was suspended by a breakpoint.

See Also:
Constant Field Values

CLIENT_REQUEST

static final int CLIENT_REQUEST
Client request detail. Indicates a thread was suspended due to a client request.

See Also:
Constant Field Values

EVALUATION

static final int EVALUATION
Evaluation detail. Indicates that a thread was resumed or suspended to perform an expression evaluation.

Since:
2.0
See Also:
Constant Field Values

EVALUATION_IMPLICIT

static final int EVALUATION_IMPLICIT
Evaluation detail. Indicates that a thread was resumed or suspended to perform an implicit expression evaluation. An implicit evaluation is an evaluation that is performed as an indirect result of a user action. Clients may use this detail event to decide whether or not to alert the user that an evaluation is taking place..

Since:
2.0
See Also:
Constant Field Values

STATE

static final int STATE
State change detail. Indicates the state of a single debug element has changed. Only valid for CHANGE events.

Since:
2.0
See Also:
Constant Field Values

CONTENT

static final int CONTENT
Content change detail. Indicates the content of a debug element (and potentially its children) has changed. Only valid for CHANGE events.

Since:
2.0
See Also:
Constant Field Values

DEBUGGER

static final int DEBUGGER
Debugger detail. Indicates the debugger is terminated or created

Since:
2.0
See Also:
Constant Field Values

REGISTER

static final int REGISTER
Register detail. Indicates the registered process is created or terminated

Since:
2.0
See Also:
Constant Field Values

UNSPECIFIED

static final int UNSPECIFIED
Constant indicating that the kind or detail of a debug event is unspecified.

See Also:
Constant Field Values

ERR_NORMAL

static final int ERR_NORMAL
See Also:
Constant Field Values

ERR_WARNING

static final int ERR_WARNING
See Also:
Constant Field Values

ERR_FATAL

static final int ERR_FATAL
See Also:
Constant Field Values
Method Detail

getDetail

int getDetail()
Get the event detail

Returns:

getInfo

IPDebugInfo getInfo()
Get the event info

Returns:

getKind

int getKind()
Get the event kind

Returns:

getSource

Object getSource()
Get the event source

Returns:

isEvaluation

boolean isEvaluation()
Check if this is an evaluation event

Returns:

isStepStart

boolean isStepStart()
Check if this is a step start event

Returns:

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.