Ask Your Question

Revision history [back]

If you are using Sage in the terminal, you can simply type pdb and it will turn on the debugger when an error is raised. This does not quite answer your question, but might help a bit.

If you are using Sage in the terminal, you can simply type pdb and it will turn on the debugger when an error is raised. This does not quite answer your question, but might help a bit.

sage: pdb Automatic pdb calling has been turned ON

If you are using Sage in the terminal, you can simply type pdb and it will turn on the debugger when an error is raised. This does not quite answer your question, but might help a bit.

sage: pdb pdb
Automatic pdb calling has been turned ON