public interface RestartFrameExtension
CallFrame
API that supports restart frame operation. Some backends
or VM versions may not support it.JavascriptVm.getRestartFrameExtension()
Modifier and Type | Method and Description |
---|---|
boolean |
canRestartFrame(CallFrame callFrame) |
RelayOk |
restartFrame(CallFrame callFrame,
GenericCallback<java.lang.Boolean> callback,
SyncCallback syncCallback)
Restarts a frame (all frames above are dropped from the stack, this frame is started over).
|
RelayOk restartFrame(CallFrame callFrame, GenericCallback<java.lang.Boolean> callback, SyncCallback syncCallback)
callback
- is notified about operation outcome; for success the boolean parameter
is true if VM has been resumed and is expected to get suspended again in a moment (with
a standard 'resumed' notification), and is false if callframes list is already updated
without VM state change (this case presently is never actually happening)boolean canRestartFrame(CallFrame callFrame)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.