First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 3 years ago

petRUShka gravatar image

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?