Code Monkey home page Code Monkey logo

Comments (4)

minrk avatar minrk commented on July 20, 2024

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.

smatting avatar smatting commented on July 20, 2024

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.

smatting avatar smatting commented on July 20, 2024

I could reproduce this on two Ubuntu machines and on Mac OS X.

from jupyter_console.

takluyver avatar takluyver commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.