On Wed, Oct 3, 2018 at 6:53 PM Dima Pasechnik <dimp...@gmail.com> wrote:
>
> On Wed, Oct 3, 2018 at 3:16 PM Dima Pasechnik <dimp...@gmail.com> wrote:
> >
> > 1) How does one suppress noisy messages about threads (coming from ipython, 
> > I suppose)?
> >
> > 2) How does one supress breaks coming from Python try/except blocks?
>
> OK, these are easy: just added the following to ~/.gdbinit
>
> set print thread-events off
> handle SIGABRT nostop noprint
> ------------------------
>
> But how about
>
> Python Exception <class 'gdb.error'> There is no member named "ob_sval"
>
> e.g.
>
> (gdb)
> __pyx_f_4sage_4libs_3gap_4util_gap_eval (Python Exception <class
> 'gdb.error'> There is no member named ob_sval.:
> __pyx_v_gap_string=)
>     at build/cythonized/sage/libs/gap/util.c:5383
>
>
> errors I'm getting?

Off the top of my head it's not immediately obvious why you would get
that.  I'm assuming

1) You compiled Python with SAGE_DEBUG=yes
2) You are using the gdb package from Sage and not your system gdb?

I've actually never used `./sage -gdb` before so I don't know what
it's doing that's special, if anything.

In the past I've had trouble using Python-based gdb extensions with
Sage using my system Python since it's build to use Python 3 :/  I
mostly just use some old .gdbinit stuff from Python 2, which is better
than nothing but not great.

-- 
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.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to