PTP
Release 7.0

org.eclipse.ptp.debug.core
Interface IPDebugger


public interface IPDebugger

Main debugger interface used by debug launch delegate.


Method Summary
 void cleanup(IPLaunch launch)
          Clean up the debug session.
 IPDISession createDebugSession(long timeout, IPLaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
          Create a new debugger session.
 void initialize(org.eclipse.debug.core.ILaunchConfiguration configuration, org.eclipse.core.runtime.IProgressMonitor monitor)
          Initialize the debugger.
 

Method Detail

cleanup

void cleanup(IPLaunch launch)
Clean up the debug session. Does whatever is necessary to shut down any debugger activities that were started as a result of calling initialize.

Parameters:
launch - debugger launch configuration

createDebugSession

IPDISession createDebugSession(long timeout,
                               IPLaunch launch,
                               org.eclipse.core.runtime.IProgressMonitor monitor)
                               throws org.eclipse.core.runtime.CoreException
Create a new debugger session.

Parameters:
timeout - timeout value for debug commands
launch - debugger launch configuration
monitor - progress monitor
Returns:
new debug session
Throws:
org.eclipse.core.runtime.CoreException
Since:
5.0

initialize

void initialize(org.eclipse.debug.core.ILaunchConfiguration configuration,
                org.eclipse.core.runtime.IProgressMonitor monitor)
                throws org.eclipse.core.runtime.CoreException
Initialize the debugger. This does whatever is necessary to get the debugger ready to start debugging the user application. The debugger should add the required attributes to attrMgr that need to be passed to the submitJob command to launch the application under debugger control. The attrMgr argument can also supply attributes from a previously submitted job that may be used to initialize the debug session.

Parameters:
configuration - debugger launch configuration
monitor - progress monitor
Throws:
org.eclipse.core.runtime.CoreException - if the debugger cannot be initialized
Since:
5.0

PTP
Release 7.0

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