Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

set_trace() analog for Sage

In sage one can use import pdb;pdb.set_trace() or in case of tests: import pytest; pytest.set_trace(). But these commands invoke pure python console without Sage improvements.

Are there something like sage.set_trace() command which opens Sage REPL instead if Python REPL?