Class Debugger.restartFrame$$RET

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseType<?>>
    Enclosing class:
    Debugger

    public static class Debugger.restartFrame$$RET
    extends BaseType<Debugger.restartFrame$$RET>
    implements java.io.Serializable
    This Nested Java Class was written in order to incorporate the litany of all return-values from the browser command restartFrame. This command is defined in the Debugger domain, which is located in the JavaScriptAPI.

    📌 All browser commands having a dedicated return type nested class will have a name which begins with a lower case letter, and ends with the string '$$RET'.

    ⚠️ Browser return types are only created for commands in which 2 or more values are returned by a CDP command.
    Restarts particular call frame from the beginning. The old, deprecated behavior of restartFrame is to stay paused and allow further CDP commands after a restart was scheduled. This can cause problems with restarting, so we now continue execution immediatly after it has been scheduled until we reach the beginning of the restarted frame. To stay back-wards compatible, restartFrame now expects a mode parameter to be present. If the mode parameter is missing, restartFrame errors out. The various return values are deprecated and callFrames is always empty. Use the call frames from the Debugger#paused events instead, that fires once V8 pauses at the beginning of the restarted function.
    See Also:
    Debugger.restartFrame(java.lang.String, java.lang.String), Serialized Form