public interface StandaloneVm extends JavascriptVm
JavascriptVm.BreakpointCallback, JavascriptVm.ExceptionCatchMode, JavascriptVm.ListBreakpointsCallback, JavascriptVm.ScriptsCallback, JavascriptVm.SuspendCallback| Modifier and Type | Method and Description |
|---|---|
void |
attach(DebugEventListener listener)
Connects to the target VM.
|
java.lang.String |
getDisconnectReason() |
java.lang.String |
getEmbedderName() |
java.lang.String |
getVmVersion()
This version should correspond to
JavascriptVm.getVersion(). |
detach, enableBreakpoints, getBreakpointTypeExtension, getFunctionScopeExtension, getIgnoreCountBreakpointExtension, getRestartFrameExtension, getScripts, getVersion, isAttached, listBreakpoints, setBreakOnException, setBreakpoint, suspendvoid attach(DebugEventListener listener) throws java.io.IOException, UnsupportedVersionException, MethodIsBlockingException
listener - to report the debug events tojava.io.IOException - if there was a transport layer errorUnsupportedVersionException - if the SDK protocol version is not
compatible with that supported by the browserMethodIsBlockingException - because initialization implies couple of remote calls
(to request version etc)java.lang.String getEmbedderName()
java.lang.String getVmVersion()
JavascriptVm.getVersion(). However it gets available
earlier, at the transport handshake stage.StandaloneVm has been attachedjava.lang.String getDisconnectReason()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.