This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unicode printing in gdb post-mortem sessions
Type: enhancement Stage:
Components: Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: dugan, georg.brandl
Priority: normal Keywords:

Created on 2009-03-31 01:26 by dugan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg84738 - (view) Author: David Christian (dugan) Date: 2009-03-31 01:26
http://blog.kowalczyk.info/article/Gdb-basics.html

It is difficult to display the frame you're in while debugging a core
dump in python 3.0 (when in a core dump, you can't run functions, and
thus cannot use many of the normal methods of displaying unicode). 

Martin van Loewis discovered this gdb function (linked), "pu", which
prints out unicode strings.  The way it does so is a bit kludgy, but I
think it is at least the start of a solution.  Perhaps it can be
included in .gdbinit?
msg84937 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 22:36
Added in r70912.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49867
2009-03-31 22:36:03georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg84937

resolution: fixed
2009-03-31 01:26:24dugansettitle: Unicode pringint in post-mortem sessions -> Unicode printing in gdb post-mortem sessions
2009-03-31 01:26:09dugancreate