You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
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.
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.
Activity
DavidKarlas commentedon Jul 12, 2016
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...
weinand commentedon Jul 12, 2016
David Karlaš (@DavidKarlas) good idea, I will consider your suggestion.
For now I have already added the
restartFrameto the protocol, but the 1.11 version of the protocol is only a preview until the end of the sprint.weinand commentedon Jul 14, 2016
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.