public abstract class VMDebugCore extends Object
Constructor and Description |
---|
VMDebugCore()
The constructor
|
Modifier and Type | Method and Description |
---|---|
IStatus |
createDebugError(String string,
IOException e)
Returns the shared instance
|
IStatus |
createError(String message,
int code,
Throwable throwable) |
IStatus |
createStatus(int severity,
String message) |
IStatus |
createStatus(int severity,
String message,
Throwable throwable) |
void |
error(int code,
String message,
Throwable throwable)
Generates an error log for the specified plug-in, with the specified
status code, message, and throwable.
|
void |
error(String message) |
void |
error(String message,
Throwable throwable) |
void |
error(Throwable throwable) |
abstract String |
getBreakpointMarkerId() |
abstract String |
getDebuggerActiveProperty() |
abstract String |
getDebugTargetName() |
abstract String |
getDebugThreadName() |
abstract List<? extends VMLineBreakpoint> |
getLineBreakpoints() |
abstract BaseLocationInFileProvider |
getLocationInFileProvider() |
abstract ILog |
getLog() |
abstract String |
getModelId() |
<T extends IBreakpoint> |
getOCLBreakpoints(Class<T> breakpointType) |
abstract String |
getPluginId() |
static URI |
getResourceURI(IResource resource) |
abstract Trace |
getTrace() |
abstract String |
getVMThreadName() |
void |
log(int severity,
int code,
String message,
Throwable throwable) |
void |
log(IStatus status) |
URI |
resolvePlatformPluginURI(IFile file) |
URI |
resolvePlatformPluginURI(URI uri) |
IFile |
resolveWorskpaceFile(URI uri) |
IFile |
toFile(URI uri) |
List<IFile> |
toFiles(URI uri) |
public static URI getResourceURI(IResource resource)
public void error(Throwable throwable)
public void error(String message)
public void error(int code, String message, Throwable throwable)
code
- The status code for the log.message
- The message for the log.throwable
- The throwable for the log.public abstract String getBreakpointMarkerId()
public abstract String getDebuggerActiveProperty()
public abstract String getModelId()
public abstract ILog getLog()
public abstract String getPluginId()
public abstract Trace getTrace()
public abstract String getVMThreadName()
public IStatus createDebugError(String string, IOException e)
public IStatus createStatus(int severity, String message)
public abstract String getDebugTargetName()
public abstract String getDebugThreadName()
public abstract List<? extends VMLineBreakpoint> getLineBreakpoints()
public abstract BaseLocationInFileProvider getLocationInFileProvider()
public void log(IStatus status)
public URI resolvePlatformPluginURI(IFile file)
public URI resolvePlatformPluginURI(URI uri)
public IFile resolveWorskpaceFile(URI uri)
public IFile toFile(URI uri)
public List<IFile> toFiles(URI uri)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.