This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]