-
Notifications
You must be signed in to change notification settings - Fork 298
How notebook run by line works
Notebook Run by line is very close to debugging a cell. The differences in the sequence diagram are highlighted below:
<--
Generated at https://sequencediagram.org/ with this code:
title Notebook Cell Debugging
participant VS Code participant DebuggingManager participant Debugger participant KernelDebugAdapter participant RunByLineController#pink participant IPython VS Code->DebuggingManager:Debug cell clicked DebuggingManager->*Debugger:creates with an attach Debugger->VS Code:create attach debug session VS Code->DebuggingManager:create debug adapter DebuggingManager->*KernelDebugAdapter:creates DebuggingManager->*RunByLineController:creates DebuggingManager->VS Code:returns debug adapter VS Code->KernelDebugAdapter:handleMessage - Initialize KernelDebugAdapter->KernelDebugAdapter:Translate file paths KernelDebugAdapter->IPython:requestDebug - Initialize IPython->KernelDebugAdapter:requestDebug - Initialize response KernelDebugAdapter<-#pink>RunByLineController:willSendEvent? KernelDebugAdapter->VS Code:onDidSendMessage - Initialize response VS Code->KernelDebugAdapter:handleMessage - ConfigurationDone KernelDebugAdapter->KernelDebugAdapter:Translate file paths KernelDebugAdapter->IPython:requestDebug - ConfigurationDone IPython->KernelDebugAdapter:requestDebug - ConfiguratioDone response KernelDebugAdapter<-#pink>RunByLineController:willSendEvent RunByLineController->IPython:execute cell KernelDebugAdapter->VS Code:onDidSendMessage - ConfigurationDone response note over VS Code,IPython:normal debugging is established IPython->KernelDebugAdapter:onIOPubMessage - stopped event KernelDebugAdapter<-#pink>RunByLineController:willSendEvent? RunByLineController-#pink>KernelDebugAdapter:debug step KernelDebugAdapter-#pink>VS Code:custom request "step in" VS Code-#pink>KernelDebugAdapter:handleMessage "step in" KernelDebugAdapter-#pink>IPython:requestDebug "step in"
-->
- Contribution
- Source Code Organization
- Coding Standards
- Profiling
- Coding Guidelines
- Component Governance
- Writing tests
- Kernels
- Intellisense
- Debugging
- IPyWidgets
- Extensibility
- Module Dependencies
- Errors thrown
- Jupyter API
- Variable fetching
- Import / Export
- React Webviews: Variable Viewer, Data Viewer, and Plot Viewer
- FAQ
- Kernel Crashes
- Jupyter issues in the Python Interactive Window or Notebook Editor
- Finding the code that is causing high CPU load in production
- How to install extensions from VSIX when using Remote VS Code
- How to connect to a jupyter server for running code in vscode.dev
- Jupyter Kernels and the Jupyter Extension