-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RBL/Debugging code cleanup #7346
Comments
dump all cells is not working |
Variables cleanup: Currently, the flow is like this
So the logic is distributed in multiple places. It would be cleaner to have DebuggerVariables be responsible for updating itself and knowing what logic is needed to do that, so @DavidKutu and I plan to do it this way instead:
Then we can lose the DA sending variables requests to trigger a side effect somewhere else, and the weird Does this sound ok to you @IanMatthewHuff? |
@roblourens and @DavidKutu . I like this cleanup. Currently it feels pretty shoehorned in. In particular DebuggerVariables owning sending and handling the stackTrace ect... requests feels much nicer. I'd actually love to meet sometime to discuss moving totally off the old Variable View and onto using the VS Code variables control at all times for notebooks and interactive window both in debugging and normal execution. What we are doing now still feels to me like bolting VS Code debugging concepts into a funky old webview control. I'm a bit unsure of how much work that would be, but once the basics are working to not regress current customers that time investment feels better than sinking more time into the webview control. @roblourens is that something that feels feasible to you? Could we have the VS Code variables control available in a non-debugging scenario where we could have our old non-debugging method of fetching variables (the KernelVariables classes) respect the debug messages? |
Well we wouldn't want to run a debug session all the time. If we show vscode's variables view in some other context, I don't know how that generalizes to other situations. I think we would be talking about something notebook-specific. I suppose that any notebook that has state could use something like this though. Honestly the webview UI feels fine right now. Providing this to other notebooks in general would be a big task but there is no other consumer right now. Maybe Don's TS notebook some day. I dunno if @rebornix feels differently |
* Refactor KernelDebugAdapter and add RunByLineController #7346 * Move initializeExecute into RunByLineController * Add cell debug controller Co-authored-by: David <dakutuga@microsoft.com>
Remaining:
|
The text was updated successfully, but these errors were encountered: