Comments (3)
What happens when the execution is stopped and then we stop the debugger? (sending the disconnect
message)
From the previous tests I think the request_execute
goes through, so on page reload the kernel will have executed the cell (except that the debugger will be stopped).
from debugger.
The decision taken during developers meetings is to fully restore the state of a debugger session when the user switches back to it (either because the user switches back to a notebook with a running debugger or upon page reload).
This implies that the backend must store the list of breakpoints and a list of threads that are stopped.
This data can be retrieved with a debugInfo request.
The forntend must be able to map the temporary filenames created in the backend for setting the breakpoints with the cells of the notebooks where the breakpoints should appear.
The current method for creating a file in the backend) is to hash the content of the cell (this gives the name of the file) and then add a prefix and the ".py" suffix. Therefore, even if the frontend can work with the hash only, it must be available to retrieve this hash in a filename when receiving a debugInfo reply.
The easiest way to do it is that the backend also sends the prefix and the suffix that are used to build the filenames. The frontend does not need to store them, they are used when ahndling the debugInfo reply only.
from debugger.
This has been implemented in #153 and #165
from debugger.
Related Issues (20)
- Installation error: Couldn't find package "murmurhash-js@^1.0.0" and "vscode-debugprotocol@^1.37.0" HOT 9
- Kernel dies on the attempt to enable the debugger
- BreakpointCellComponent error with xeus-python 0.8.6
- Keep shown variables structure while continuing execution? HOT 2
- Out of memory error when jupyter lab build after install the debugger extention destruct the whole page. HOT 4
- Continue or next after break point on a last line of a call HOT 2
- Ability to move debugger to left side bar HOT 2
- Modify variable value within debugging console. HOT 2
- Difference between xeus python, python 3 and python 3.8 HOT 4
- Backport Debugger Scope PR from JupyterLab
- RuntimeError: JupyterLab failed to build HOT 2
- but this jupyter lab is not goes line by line if there is no breakpoint at cell? HOT 1
- Step into installed library code HOT 5
- Automatic import of libraries at startup HOT 1
- Interactive charts using pandas dataframe plot function HOT 1
- Evaluate in second notebook HOT 5
- how to install debugger on an existing env? HOT 3
- Right way to add jupyterlab-debugger on Jupyterhub HOT 5
- cannot install HOT 3
- Debugger can't be enabled with ipykernel (6.5.1) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debugger.