From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to render gud (python debugger) output? Date: Fri, 05 Oct 2012 10:40:02 +0200 Message-ID: <83y5jl71nh.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1349426410 5286 80.91.229.3 (5 Oct 2012 08:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 08:40:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 10:40:16 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TK3SA-0005he-D1 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 10:40:14 +0200 Original-Received: from localhost ([::1]:56352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK3S4-0001G9-JW for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 04:40:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK3Rr-0000wN-8s for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 04:39:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TK3Rk-0007CP-CG for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 04:39:55 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK3Rk-0007CI-4A for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 04:39:48 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MBE00A00W1GZH00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 10:39:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBE00AA7W2AVU20@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 10:39:46 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87074 Archived-At: > Date: Fri, 5 Oct 2012 01:30:19 -0700 (PDT) > From: Z > Injection-Date: Fri, 05 Oct 2012 08:30:19 +0000 > > I use gud pdb to debug Python program. But output of gud is mono color > and hard to identify the information in a huge chuck of > output(e.g. type "bt" and find current frame in stack). So I want to add color and link to the output. > > How to render gud output? What function shall I add or change? Did you try the command below? M-x gdb-many-windows RET You can also invoke it by clicking "Gud->GDB-MI->Display Other Windows" from the menu bar. This causes the call stack be automatically displayed in a separate window, with clickable frames. So you should not need to examine the output of "bt" manually, if you don't want to.