How do you debug sage code?
My favorite way do debug Python code is to use pdb in GUD emacs-mode.
I split the window into two buffers; in one I interact with pdb, in the other I see the code I'm debugging with the current line highlighted. When I step into a function which is defined in a different file, this window automatically shows the content of the new file.
Is it possible to use pdb and GUD with sage? Or is it possible to achieve this effect in a different way?
asked Oct 13 '10Philipp Schneider
123 ● 1 ● 3 ● 10
Here's one way to use Emacs' Grand Unified Debugger (GUD) with the Sage library:
I hope there's a better way! But with this approach, stepping into
posted Oct 13 '10Mitesh Patel
253 ● 2 ● 9
Asked: Oct 13 '10
Seen: 580 times
Last updated: Oct 13 '10
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.