-- 
Sébastien Barthélemy

Hello,

I'm trying to use sage for exact computation on polyhedron, and so I'm
interested in what happens in the file
$SAGE_ROOT/devel/sage/sage/geometry/polyhedra.py. I would like to put
breakpoints into this file. I'm trying to do it with the eric4 IDE [1]
(version 4.1.5 from ubuntu intrepid).

I have a simple test.py file:
import sys
from sage.all import *
p = Polyhedron(vertices=[[0,1],[1,0], [1, 1]])
c =  n_cube(2)
v = c.vertices()
pc = p+c
print pc

and I'v setup eric4 to use the following shell-script as the python interpreter:
#!/bin/sh
sage -python ${*}

Note that sage is in my path and has been properly edited to set its
$SAGE_ROOT variable.

It does work, in the sense that running test.py from eric4 IDE works,
and that breakpoints in test.py also work. However breakpoints
$SAGE_ROOT/devel/sage/sage/geometry/polyhedra.py do not cause any
break.

Is there any trick ? It's probably something stupid as it is the first
time I use eric4 and set breakpoints in python scripts.

I already looked and searched on the website but please feel free to
suggest me further reading. Also, I'm not particularly attached to
eric4 , feel free to suggest a better option.

Regards,

[1] http://die-offenbachs.de/eric/index.html
--
Sébastien Barthélemy

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to