public interface DebugEventListener
JavascriptVm
to
the clients.Modifier and Type | Interface and Description |
---|---|
static interface |
DebugEventListener.VmStatusListener
A specialized listener for status of remote VM command queue.
|
Modifier and Type | Method and Description |
---|---|
void |
disconnected()
Reports the debug connection has terminated and
JavascriptVm has stopped operating. |
DebugEventListener.VmStatusListener |
getVmStatusListener()
Gets
DebugEventListener.VmStatusListener that is considered a part of DebugEventListener . |
void |
resumed()
Reports the browser JavaScript virtual machine has resumed.
|
void |
scriptCollected(Script script)
Reports that the script has been collected and is no longer used in VM.
|
void |
scriptContentChanged(Script newScript)
Reports that script source has been altered in remote VM.
|
void |
scriptLoaded(Script newScript)
Reports that a new script has been loaded into a tab.
|
void |
suspended(DebugContext context)
Reports the browser JavaScript virtual machine has suspended (on hitting
breakpoints or a step end).
|
void suspended(DebugContext context)
context
can be used to access the
current backtrace.context
- associated with the current suspended statevoid resumed()
DebugContext.continueVm(org.eclipse.wst.jsdt.chromium.DebugContext.StepAction, int, org.eclipse.wst.jsdt.chromium.DebugContext.ContinueCallback)
).void disconnected()
JavascriptVm
has stopped operating.
This event is reported always, regardless of which reason causes termination.
TODO: consider adding disconnect reason here.void scriptLoaded(Script newScript)
newScript
- loaded into the tabvoid scriptCollected(Script script)
DebugEventListener.VmStatusListener getVmStatusListener()
DebugEventListener.VmStatusListener
that is considered a part of DebugEventListener
.
The value this method returns may be cached by caller.DebugEventListener.VmStatusListener
or nullvoid scriptContentChanged(Script newScript)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.