Message176273
| Author | xdegaye |
|---|---|
| Recipients | akl, amaury.forgeotdarc, meador.inge, xdegaye |
| Date | 2012-11-24.10:46:30 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1353753990.96.0.820794838928.issue13044@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The run, runeval and runcall methods run the debugging session in a try/finally clause and set the global trace function to None in the finally clause. But set_trace does not run in a try/finally, hence the problem. A possible fix is to ensure that the bottom frame has a local trace function and to set the global trace function to None when returning from that frame. See how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=ee22a278c743ea9449a3e7618acc7c33cb11bb26&name=2.7 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-11-24 10:46:31 | xdegaye | set | recipients: + xdegaye, amaury.forgeotdarc, meador.inge, akl |
| 2012-11-24 10:46:30 | xdegaye | set | messageid: <1353753990.96.0.820794838928.issue13044@psf.upfronthosting.co.za> |
| 2012-11-24 10:46:30 | xdegaye | link | issue13044 messages |
| 2012-11-24 10:46:30 | xdegaye | create | |