inducer / pudb

Full-screen console debugger for Python
https://documen.tician.de/pudb/
Other
2.94k stars 226 forks source link

Do not raise when an instance already exists (fixes issue #607) #610

Open souliane opened 1 year ago

souliane commented 1 year ago

Do not raise when an instance already exists (fixes issue #607)

I assume that this is a dirty fix, yet it works for me. Please let me know what is the good way to fix the issue, I would like to tackle it. How to reproduce is described here.

asmeurer commented 1 year ago

This seems like the wrong fix. If the debugger is already running then further breakpoints should just break the debugger. If that doesn't happen we should try to investigate why. Having multiple debugger classes implies recursive debugging, which sounds really complicated and probably not worth supporting.