I didn't do much with setting traces / breakpoints from within the Python
code itself in the tutorial. You can call from pudb import set_trace as bp;
bp() to launch the pudb debugger at a certain point in the code. This
should simplify having to manually add all of the breakpoints from within
the P
On Friday, December 9, 2016 at 4:07:18 PM UTC, Maxie Schmidt wrote:
>
> For the sake of completeness, I'm adding a link to a SMC wiki tutorial on
> using PUDB with Sage (for both local source installs and within the SMC
> terminal application):
>
> https://github.com/sagemathinc/smc/wiki/Using
And if you do "sage -sh" first, then it'll use a different pudb
installed into sage.
(sorry for spamming the list)
On Fri, Dec 9, 2016 at 10:19 AM, William Stein wrote:
> Also, pudb is now pre-installed systemwide so `pip install pudb` is no
> longer needed
>
> On Fri, Dec 9, 2016 at 10:16 A
Also, pudb is now pre-installed systemwide so `pip install pudb` is no
longer needed
On Fri, Dec 9, 2016 at 10:16 AM, William Stein wrote:
> On Fri, Dec 9, 2016 at 9:58 AM, William Stein wrote:
>> On Fri, Dec 9, 2016 at 8:07 AM, Maxie Schmidt wrote:
>>> For the sake of completeness, I'm add
On Fri, Dec 9, 2016 at 8:07 AM, Maxie Schmidt wrote:
> For the sake of completeness, I'm adding a link to a SMC wiki tutorial on
> using PUDB with Sage (for both local source installs and within the SMC
> terminal application):
> https://github.com/sagemathinc/smc/wiki/Using-a-GUI-Python-Debugger-
For the sake of completeness, I'm adding a link to a SMC wiki tutorial on
using PUDB with Sage (for both local source installs and within the SMC
terminal application):
https://github.com/sagemathinc/smc/wiki/Using-a-GUI-Python-Debugger-with-Sage-(PUDB).
Maxie
On Tuesday, November 29, 2016
Here is the solution I eventually found to get pudb installed with Sage:
1) Install libssl-dev: $ sudo apt-get install libssl-dev
2) Install OpenSSL: $ sage -i openssl
3) Recompile: $ sage -f python2
4) Run the Sage shell: $ sage -sh
5) (sage-sh) pip install --upgrade pip
6) (sage-sh) pip install
If this is of any help, this is what I use:
https://github.com/miguelmarco/pykdedebugger
El sábado, 26 de noviembre de 2016, 8:25:02 (UTC+1), Maxie Schmidt escribió:
>
> I've been looking at GUI-based (or at least text-GUI-based) python
> debuggers to help with fixing bugs in a larger python cod
Also, if the group can help me figure out how to get extra add-on python
modules installed with Sage, I'd be happy to write up a tutorial on how to
get the stock python memory profiler and PUDB working with Sage.
Maxie
On Nov 28, 2016 3:37 PM, "Maxie Schmidt" wrote:
> I'm looking for an ncurses
I'm looking for an ncurses-like GUI debugging tool. PUDB looks especially
nice from what I can find online. Is there anything else like this for
Sage? My searches came up empty.
There's sort of a secondary question buried in the first question I asked,
which is how to get add-on modules, like the
Oops wrong link. Do the dev docs really have nothing about Python debugging?
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.co
You didn't mention, have you
seen http://doc.sagemath.org/html/en/developer/doctesting.html#debugging-tools?
On Saturday, November 26, 2016 at 8:25:02 AM UTC+1, Maxie Schmidt wrote
>
> I've been looking at GUI-based (or at least text-GUI-based) python
> debuggers to help with fixing bugs in a la
12 matches
Mail list logo