Andreas Klöckner
Andreas Klöckner
Not entirely happy--I can still get the focus onto the sidebar, at which point my key events appear to go nowhere... @asmeurer, what do you think?
You don't get notified when the sidebar gets the focus (IIRC), so you'd have to poll (in the event loop or so). Not sure I'm a fan.
No, because Urwid also messes with the Focus behind our backs. Pressing "Cursor Right" will also get the sidebar focused.
I haven't had that happen. Do you know of a way to reproduce this behavior?
I tried with a different file (I don't have PyTorch installed), and my configuration survived without a problem.
Maybe PyTorch is doing something that it shouldn't?
Pudb/bdb are already dog-slow when they're tracing. Adding more code to that code path (even just the do-we-have-a-condition-if) doesn't sound like a good recipe. But I have not measured the...
True. But then we'd have to replace the trace func from within `bdb`, which is deep into monkeypatch territory, or just replace `bdb`...
I'm sorry to say I'm not a fan of this endeavor. The frames are there, and pretending they aren't is going to involve handling all sorts of poorly tested corner...
Agree with @asmeurer that `pudb.b` should be where this gets fixed. > The same for me. At first I thought that we just need to calculate the set_trace depth and...