Comments (4)
Does it work with %debug
instead of ipdb.set_trace
? If so, it may be that the change is needed on ipdb's side, instead of IPython's.
from jupyter_console.
No it doesn't work with %debug
. Here is what I tried:
Change contents of foo.py
to
really_long_name = 3
raise ValueError(':(')
Then
$ jupyter console
In [1]: import foo
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-1-34d390fb3acc> in <module>()
----> 1 import foo
/Users/stefan/foo.py in <module>()
1 really_long_name = 3
----> 2 raise ValueError(':(')
ValueError: :(
In [2]: %debug
> /Users/stefan/foo.py(2)<module>()
1 really_long_name = 3
----> 2 raise ValueError(':(')
ipdb>r
Now <TAB>
freezes your terminal.
from jupyter_console.
I could reproduce this on two Ubuntu machines and on Mac OS X.
from jupyter_console.
I think I've identified the problem, and #47 should fix it - by which I mean, it prevents the freeze; having completions in the debugger is a much trickier issue, and one that affects all our ZMQ frontends.
from jupyter_console.
Related Issues (20)
- jupyter console --simple-prompt crashes after update to Python 3.9.8 HOT 1
- Jupiter console crashes on Python 3.10 HOT 2
- Any chance we could get a release for this soon? HOT 5
- Jupyter console invalid syntax with Python 3.10 HOT 2
- Renamed default branch to main
- Not compatible with Python 3.10
- Cannot run jupyter-console HOT 3
- Add keyboard shortcut to show help tooltips like in Jupyter Notebook/Lab
- Take input from remote
- TypeError: object int can't be used in 'await' expression when ZMQTerminalInteractiveShell.include_other_output = True HOT 8
- Jupyter console is broken (run_sync expects coroutines) HOT 3
- Configuration InteractiveShell.separate_in not supported? HOT 2
- Display ExceptionGroup full message
- Display Exception notes
- level of brightness of the number present in the prompt.
- How to set terminal title as in IPython HOT 1
- Jupyter console won't work with %matplotlib osx. HOT 5
- KeyboardInterrupt not handled correctly
- System imports can be overriden by user-space files such as `queue.py`
- Unable to start jupyter console: "RuntimeError: asyncio.run() cannot be called from a running event loop" HOT 6
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 jupyter_console.