Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Extra breakpoint after typing with refresh kernel. #436

Conversation

KrzysztofSikoraCodete
Copy link
Contributor

@KrzysztofSikoraCodete KrzysztofSikoraCodete commented May 5, 2020

Peek 2020-05-05 14-57

My latest proposal to solve the problem. The solution is the implementation of the idea @JohanMabille.
#414 (comment)
Thanks for help.

What remains to be done.

I could delete the States class and send parameters directly, however they are correlated with cells. That's why I did it.

The second important thing that I haven't solved here is restoring points after refreshing the browser.

Naturally, the map is cleared, so it won't work in this case.

However, when refreshing the kernel, it seems to work.
The conclusion that comes to me. Some way to load breakpoints and create their map immediately after refreshing the browser.

I'm not sure about the final appearance updateBreakpoints method into service.

Any comments and suggestions?

@@ -85,8 +91,38 @@ export class BreakpointsModel implements IDisposable {
}

private _isDisposed = false;
private _statesOfCell = new Map<string, string>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep track of extra state?

@jtpio
Copy link
Member

jtpio commented May 27, 2020

It looks like the diff shows changes from other merged PRs.

Should we copy the changes over to another new PR rebased on the latest maybe?

@afshin
Copy link
Member

afshin commented Jun 11, 2020

Closing in favor of #454

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants