Skip to content

Debug Protocol: support 'restart frame' #43

Closed

Description

Add protocol support for a restartFrame request.
A single argument frameId specifies the frame to restart.

Activity

  1. DavidKarlas commented on Jul 12, 2016

    @DavidKarlas

    This is similar to #28?
    Maybe it could be merged into one command with addition of optional frame index parameter?
    It might be confusing having two very similar commands unless I misunderstand this command...

  2. weinand commented on Jul 12, 2016

    @weinand
    ContributorAuthor

    David Karlaš (@DavidKarlas) good idea, I will consider your suggestion.
    For now I have already added the restartFrame to the protocol, but the 1.11 version of the protocol is only a preview until the end of the sprint.

  3. weinand commented on Jul 14, 2016

    @weinand
    ContributorAuthor

    David Karlaš (@DavidKarlas) I've tried to merge 'restartFrame' into the 'setNextStatement' proposed in #28 but in the end I gave up because supporting different kinds of parameters (frameId vs. source location) on 'setNextStatement' was just adding complexity without gaining much: the UI for 'setNextStatement' is quite different from 'restartFrame'. The former works on individual statements in the source, the latter is more useful on call stack frames. So typically there is no shared code that has to deal with both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions