Fix up some more of the interrupt framework
This (partially) fixes #31, and also improves work on #42. Now, interrupting with Control-C works when the debugging is started with set_trace(). The SIGINT handler is enabled via the public function pudb.set_interrupt_handler. If you want to be able to enter PuDB from within your application, just call this function. By default, it uses SIGINT (i.e., Control-C), but you can change it to use a different signal if that one interferes. There is still one major issue, which is that when you break in the middle of an atomic operation, it goes to bdb. After pressing `n` several times you get to your code, though.
Loading
Please sign in to comment