Discussion:
[pyclewn] Python Exception <type 'exceptions.IndexError'> list index out of range
Rob
2013-02-18 13:50:12 UTC
Permalink
Hi,

I have started seeing this message written to (clewn)_console after setting a breakpoint and stopping at it.  The message is also printed after each of the first 9 frames of a back trace.  It is the same in pyclewn 1.10.py2 & pyclewn 1.8.py2.  See also the attached log output.

thanks,
Rob
Xavier de Gaye
2013-02-19 11:18:59 UTC
Permalink
Post by Rob
I have started seeing this message written to (clewn)_console after setting
a breakpoint and stopping at it. The message is also printed after each of
the first 9 frames of a back trace. It is the same in pyclewn 1.10.py2 &
pyclewn 1.8.py2. See also the attached log output.
Hi Rob,

Thanks for the report.
It seems that the python exception IndexError is raised by gdb. The
line:

gdb DEBUG &"Python Exception <type 'exceptions.IndexError'> list
index out of range: \n"

in your log is a gdb/mi stream record that "contains debugging
messages being produced by gdb's internals" (quote from gdb doc).

What version of gdb are you using and do you extend gdb with python ?
Is it easy to reproduce and can you reproduce it with the gdb command
line interface ?


--
Xavier

Les Chemins de Lokoti: http://lokoti.alwaysdata.net

Loading...