#4792: Sage 3.2.1 + interactive gdb or valgrind are broken
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |        Owner:  mabshoff  
     Type:  defect    |       Status:  new       
 Priority:  critical  |    Milestone:  sage-3.2.2
Component:  packages  |   Resolution:            
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by mabshoff):

 Ok, here is some more info: The problem stems from the way we change
 initialization of ipython:
 {{{
 mabsh...@sage:/scratch/mabshoff/release-cycle/sage-3.2.2.rc0$ ./sage -gdb
 ----------------------------------------------------------------------
 | Sage Version 3.2.2.alpha2, Release Date: 2008-12-13                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 /scratch/mabshoff/release-cycle/sage-3.2.2.rc0/local/bin/sage-ipython
 GNU gdb 6.4.90-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db
 library "/lib/libthread_db.so.1".

 [Thread debugging using libthread_db enabled]
 [New Thread 47781974642528 (LWP 32617)]
 Python 2.5.2 (r252:60911, Dec 13 2008, 09:57:26)
 [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 sage: import sage.misc.misc
 sage: from sage.misc.interpreter import preparser, _ip
 sage: preparser(True)
 sage: import sage.all_cmdline
 sage: sage.all_cmdline._init_cmdline(globals())
 sage: _ip.ex('from sage.all import Integer, RealNumber')
 sage: from sage.misc.interpreter import attached_files
 sage: _ip.ex('from sage.all_cmdline import *')
 sage: P.<x,y>=ZZ[]
 sage:
 Exiting SAGE (CPU time 0m0.98s, Wall time 2m13.59s).
 }}}
 The above steps are from ipy_profile_sage.py in local/bin.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4792#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to