This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable
- From: "jens dot elmenthaler at verigy dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 31 Mar 2010 13:45:23 -0000
- Subject: [Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable
- References: <20100320163108.11407.niko.sams@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jens dot elmenthaler at verigy dot com 2010-03-31 13:45 -------
(In reply to comment #7)
> Created an attachment (id=4692)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4692&action=view)
> Mi errors output
> I attached the output with the stack listing turned off? In this view you
only
> see the locals output?
I your transaction an error happens, but -stack-list-locals nevertheless
returns the locals, and I wouldn't have a real problem in my debugging session.
I my case, -stack-list-locals does not return the locals at a all. Comparing
your output and my output, the difference is the source of error. In your case
an exception is thrown in the to_string method of the pretty printer. This
seems to be handled properly. In my case the pretty printer methods don't
throw. The error occurs later when gdb accesses one of the elements returned
as children by the pretty printer.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11407
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.