From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Problems with new GDB toolbar Date: 17 Nov 2002 23:48:18 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5x8yzr95jh.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037570603 20489 80.91.224.249 (17 Nov 2002 22:03:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2002 22:03:23 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DXVh-0005KL-00 for ; Sun, 17 Nov 2002 23:03:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18DXXc-0004An-00 for ; Sun, 17 Nov 2002 23:05:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DXUE-0005IJ-00; Sun, 17 Nov 2002 17:01:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18DXHM-0008Gs-00 for emacs-devel@gnu.org; Sun, 17 Nov 2002 16:48:32 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18DXHJ-0008G1-00 for emacs-devel@gnu.org; Sun, 17 Nov 2002 16:48:31 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DXHJ-0008FW-00 for emacs-devel@gnu.org; Sun, 17 Nov 2002 16:48:29 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 89D707C01D; Sun, 17 Nov 2002 21:48:27 +0000 (GMT) Original-To: nick@nick.uklinux.net Original-Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9500 Hi Nick, The new GDB toolbar is awesome -- IMO, it's the first real "killer app" which shows that a toolbar really can be useful! However, I find some of the new icon a bit confusing, and I notices some minor problems with it. After first starting gdb, the first icon I clicked on (to get things going) was the [Go] icon. It resulted in a the following error: gud-format-command: Wrong type argument: stringp, nil Well, I started the program with the [Run] icon, and now wanted to install a breakpoint in the code... so I clicked on the [Stop] icon. It didn't work, so I did C-c C-z to stop the program... I used C-c C-b to set the breakpoint, and then clicked on [Go] to continue exection... and it removed the breakpoint. Ok, now a small bell rang, and I took the time to look at the tooltips; [Stop] means "Set Breakpoint" and [Go] means "Clear breakpoint"... IMO, the [Stop] button should send a stop signal to the process, and the [Go] button should do the equivalent of "continue". And then you should add new buttons for Set and Clear breakpoint; I would recommend a "red bullet" (with no text) to set a breakpoint, and the same "red bullet" with an "X" over it to clear the breakpoint. Also, most of the icons (except [Run]) should be "shaded" when the program isn't running. Also, the [Run] tooltip should be changed to "Restart program" when the program is running. Finally, when the gud buffer exists, the GDB toolbar seems to be used as the default toolbar for modes which uses the default toolbar. That's pretty annoying. -- Kim F. Storm http://www.cua.dk