PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.model
Interface IPDIModelFactory


public interface IPDIModelFactory

Factory for create the PDI model elements


Method Summary
 IPDIAddressBreakpoint newAddressBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
          Create an address breakpoint
 IPDIArgument newArgument(IPDISession session, IPDIArgumentDescriptor argDesc, String varId)
          Create an argument
 IPDIArgumentDescriptor newArgumentDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth)
          Create an argument descriptor
 IPDICondition newCondition(int ignore, String exp, String[] ids)
          Create a condition
 IPDIExceptionpoint newExceptionpoint(IPDISession session, TaskSet tasks, String clazz, boolean stopOnThrow, boolean stopOnCatch, IPDICondition condition, boolean enabled, IPDIFunctionBreakpoint[] funcBpts)
          Create an exception point
 IPDITargetExpression newExpression(IPDISession session, TaskSet tasks, String ex)
          Create an expression
 IPDIFunctionBreakpoint newFunctionBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
          Create a function breakpoint
 IPDIGlobalVariable newGlobalVariable(IPDISession session, IPDIGlobalVariableDescriptor varDesc, String varId)
          Create a global variable
 IPDIGlobalVariableDescriptor newGlobalVariableDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth)
          Create a global variable descriptor
 IPDILineBreakpoint newLineBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
          Create a line breakpoint
 IPDILocalVariable newLocalVariable(IPDISession session, IPDILocalVariableDescriptor varDesc, String varId)
          Create a local variable
 IPDILocalVariable newLocalVariable(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth, String varid)
          Create a local variable
 IPDILocalVariableDescriptor newLocalVariableDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth)
          Create a local variable descriptor
 IPDIMemory newMemory(String address, String ascii, String[] data)
          Create a memory block
 IPDIMemoryBlock newMemoryBlock(IPDISession session, TaskSet tasks, String exp, int wordSize, boolean b, IPDIDataReadMemoryInfo info)
          Create a memory block
 IPDIMultiExpressions newMultiExpressions(IPDISession session, TaskSet tasks, String ex, boolean enabled)
          Create a multi expression
 IPDIVariableDescriptor newRegisterDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth)
          Create a register descriptor
 IPDISignal newSignal(IPDISession session, TaskSet tasks, IPDISignalDescriptor signalDescriptor)
          Create a signal handler
 IPDISignalDescriptor newSignalDescriptor(String name, boolean stop, boolean pass, boolean print, String description)
          Create a signal descriptor
 IPDIStackFrame newStackFrame(IPDISession session, IPDIThread pthread, int i, IPDILocator locator)
          Create a stack frame from a locator
 IPDIStackFrame newStackFrame(IPDISession session, IPDIThread thread, int level, String file, String func, int line, BigInteger addr)
          Create a stack frame
 IPDIStackFrameDescriptor newStackFrameDescriptor(int level, IPDILocator loc)
          Create a stack frame descriptor
 IPDITarget newTarget(IPDISession session, TaskSet tasks)
          Create a target
 IPDIThread newThread(IPDISession session, IPDITarget target, int parseInt)
          Create a thread
 IPDIVariableDescriptor newThreadStorageDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, String name, String fullName, int pos, int depth)
          Create a thread storage descriptor
 IPDIWatchpoint newWatchpoint(IPDISession session, TaskSet tasks, int type, String expression, int wType, IPDICondition condition, boolean enabled)
          Create a watchpoint
 

Method Detail

newAddressBreakpoint

IPDIAddressBreakpoint newAddressBreakpoint(IPDISession session,
                                           TaskSet tasks,
                                           int type,
                                           IPDILocation location,
                                           IPDICondition condition,
                                           boolean enabled)
Create an address breakpoint

Parameters:
session -
tasks -
type -
location -
condition -
enabled -
Returns:
Since:
4.0

newArgument

IPDIArgument newArgument(IPDISession session,
                         IPDIArgumentDescriptor argDesc,
                         String varId)
Create an argument

Parameters:
session -
argDesc -
varId -
Returns:

newArgumentDescriptor

IPDIArgumentDescriptor newArgumentDescriptor(IPDISession session,
                                             TaskSet tasks,
                                             IPDIThread thread,
                                             IPDIStackFrame frame,
                                             String name,
                                             String fullName,
                                             int pos,
                                             int depth)
Create an argument descriptor

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
Returns:
Since:
4.0

newCondition

IPDICondition newCondition(int ignore,
                           String exp,
                           String[] ids)
Create a condition

Parameters:
ignore -
exp -
ids -
Returns:

newExceptionpoint

IPDIExceptionpoint newExceptionpoint(IPDISession session,
                                     TaskSet tasks,
                                     String clazz,
                                     boolean stopOnThrow,
                                     boolean stopOnCatch,
                                     IPDICondition condition,
                                     boolean enabled,
                                     IPDIFunctionBreakpoint[] funcBpts)
Create an exception point

Parameters:
session -
tasks -
clazz -
stopOnThrow -
stopOnCatch -
condition -
enabled -
funcBpts -
Returns:
Since:
4.0

newExpression

IPDITargetExpression newExpression(IPDISession session,
                                   TaskSet tasks,
                                   String ex)
Create an expression

Parameters:
session -
tasks -
ex -
Returns:
Since:
4.0

newFunctionBreakpoint

IPDIFunctionBreakpoint newFunctionBreakpoint(IPDISession session,
                                             TaskSet tasks,
                                             int type,
                                             IPDILocation location,
                                             IPDICondition condition,
                                             boolean enabled)
Create a function breakpoint

Parameters:
session -
tasks -
type -
location -
condition -
enabled -
Returns:
Since:
4.0

newGlobalVariable

IPDIGlobalVariable newGlobalVariable(IPDISession session,
                                     IPDIGlobalVariableDescriptor varDesc,
                                     String varId)
Create a global variable

Parameters:
session -
varDesc -
varId -
Returns:

newGlobalVariableDescriptor

IPDIGlobalVariableDescriptor newGlobalVariableDescriptor(IPDISession session,
                                                         TaskSet tasks,
                                                         IPDIThread thread,
                                                         IPDIStackFrame frame,
                                                         String name,
                                                         String fullName,
                                                         int pos,
                                                         int depth)
Create a global variable descriptor

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
Returns:
Since:
4.0

newLineBreakpoint

IPDILineBreakpoint newLineBreakpoint(IPDISession session,
                                     TaskSet tasks,
                                     int type,
                                     IPDILocation location,
                                     IPDICondition condition,
                                     boolean enabled)
Create a line breakpoint

Parameters:
session -
tasks -
type -
location -
condition -
enabled -
Returns:
Since:
4.0

newLocalVariable

IPDILocalVariable newLocalVariable(IPDISession session,
                                   TaskSet tasks,
                                   IPDIThread thread,
                                   IPDIStackFrame frame,
                                   String name,
                                   String fullName,
                                   int pos,
                                   int depth,
                                   String varid)
Create a local variable

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
varId -
Since:
4.0

newLocalVariable

IPDILocalVariable newLocalVariable(IPDISession session,
                                   IPDILocalVariableDescriptor varDesc,
                                   String varId)
Create a local variable

Parameters:
session -
varDesc -
varId -
Returns:

newLocalVariableDescriptor

IPDILocalVariableDescriptor newLocalVariableDescriptor(IPDISession session,
                                                       TaskSet tasks,
                                                       IPDIThread thread,
                                                       IPDIStackFrame frame,
                                                       String name,
                                                       String fullName,
                                                       int pos,
                                                       int depth)
Create a local variable descriptor

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
Returns:
Since:
4.0

newMemory

IPDIMemory newMemory(String address,
                     String ascii,
                     String[] data)
Create a memory block

Parameters:
address -
ascii -
data -
Returns:

newMemoryBlock

IPDIMemoryBlock newMemoryBlock(IPDISession session,
                               TaskSet tasks,
                               String exp,
                               int wordSize,
                               boolean b,
                               IPDIDataReadMemoryInfo info)
Create a memory block

Parameters:
session -
tasks -
exp -
wordSize -
b -
info -
Returns:
Since:
4.0

newMultiExpressions

IPDIMultiExpressions newMultiExpressions(IPDISession session,
                                         TaskSet tasks,
                                         String ex,
                                         boolean enabled)
Create a multi expression

Parameters:
session -
tasks -
ex -
enabled -
Returns:
Since:
4.0

newRegisterDescriptor

IPDIVariableDescriptor newRegisterDescriptor(IPDISession session,
                                             TaskSet tasks,
                                             IPDIThread thread,
                                             IPDIStackFrame frame,
                                             String name,
                                             String fullName,
                                             int pos,
                                             int depth)
Create a register descriptor

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
Returns:
Since:
4.0

newSignal

IPDISignal newSignal(IPDISession session,
                     TaskSet tasks,
                     IPDISignalDescriptor signalDescriptor)
Create a signal handler

Parameters:
session -
tasks -
signalDescriptor -
Returns:
Since:
4.0

newSignalDescriptor

IPDISignalDescriptor newSignalDescriptor(String name,
                                         boolean stop,
                                         boolean pass,
                                         boolean print,
                                         String description)
Create a signal descriptor

Parameters:
name -
stop -
pass -
print -
description -
Returns:

newStackFrame

IPDIStackFrame newStackFrame(IPDISession session,
                             IPDIThread pthread,
                             int i,
                             IPDILocator locator)
Create a stack frame from a locator

Parameters:
session -
pthread -
i -
locator -
Returns:

newStackFrame

IPDIStackFrame newStackFrame(IPDISession session,
                             IPDIThread thread,
                             int level,
                             String file,
                             String func,
                             int line,
                             BigInteger addr)
Create a stack frame

Parameters:
session -
thread -
level -
file -
func -
line -
addr -
args -
Returns:

newStackFrameDescriptor

IPDIStackFrameDescriptor newStackFrameDescriptor(int level,
                                                 IPDILocator loc)
Create a stack frame descriptor

Parameters:
level -
loc -
Returns:

newTarget

IPDITarget newTarget(IPDISession session,
                     TaskSet tasks)
Create a target

Parameters:
session -
tasks -
Returns:
Since:
4.0

newThread

IPDIThread newThread(IPDISession session,
                     IPDITarget target,
                     int parseInt)
Create a thread

Parameters:
session -
target -
parseInt -
Returns:

newThreadStorageDescriptor

IPDIVariableDescriptor newThreadStorageDescriptor(IPDISession session,
                                                  TaskSet tasks,
                                                  IPDIThread thread,
                                                  IPDIStackFrame frame,
                                                  String name,
                                                  String fullName,
                                                  int pos,
                                                  int depth)
Create a thread storage descriptor

Parameters:
session -
tasks -
thread -
frame -
name -
fullName -
pos -
depth -
Returns:
Since:
4.0

newWatchpoint

IPDIWatchpoint newWatchpoint(IPDISession session,
                             TaskSet tasks,
                             int type,
                             String expression,
                             int wType,
                             IPDICondition condition,
                             boolean enabled)
Create a watchpoint

Parameters:
session -
tasks -
type -
expression -
wType -
condition -
enabled -
Returns:
Since:
4.0

PTP
Release 7.0

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