public interface BreakpointTypeExtension
JavascriptVm
may or may not support it (depends on back-end and remote VM).
Each additional breakpoint target type has a dedicated XXXSupport interface and the
corresponding getter. Getter returns null if the type is unsupported by the current
JavascriptVm
. The support interface provides target constructor method and
additional visitor subinterface that Breakpoint.Target.accept(org.eclipse.wst.jsdt.chromium.Breakpoint.Target.Visitor<R>)
will recognize.
The instance may be obtained by JavascriptVm.getBreakpointTypeExtension()
.
This API is designed to keep user code fully compilable when new extension is added. This API doesn't allow to add user target types.
Modifier and Type | Interface and Description |
---|---|
static interface |
BreakpointTypeExtension.FunctionSupport
Supports targets that refer to function text in form of function-returning
JavaScript expression.
|
static interface |
BreakpointTypeExtension.ScriptRegExpSupport
Supports targets that refer to a script by a 'regexp' of its name.
|
Modifier and Type | Method and Description |
---|---|
BreakpointTypeExtension.FunctionSupport |
getFunctionSupport() |
BreakpointTypeExtension.ScriptRegExpSupport |
getScriptRegExpSupport() |
BreakpointTypeExtension.FunctionSupport getFunctionSupport()
BreakpointTypeExtension.ScriptRegExpSupport getScriptRegExpSupport()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.