From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: How to set break points in C? Date: Mon, 25 Aug 2008 01:51:09 +0200 Organization: disorganized Message-ID: <87ej4eas5u.fsf@localhorst.mine.nu> References: <11c5678a-8d89-485d-b6a4-433e8ed53bd4@79g2000hsk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219622032 25143 80.91.229.12 (24 Aug 2008 23:53:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 23:53:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 01:54:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXPPx-00086m-Fz for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 01:54:45 +0200 Original-Received: from localhost ([127.0.0.1]:58154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXPOz-0006bB-F1 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Aug 2008 19:53:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXPOc-0006aC-Nc for help-gnu-emacs@gnu.org; Sun, 24 Aug 2008 19:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXPOb-0006XW-67 for help-gnu-emacs@gnu.org; Sun, 24 Aug 2008 19:53:22 -0400 Original-Received: from [199.232.76.173] (port=49304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXPOa-0006XL-Si for help-gnu-emacs@gnu.org; Sun, 24 Aug 2008 19:53:20 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59792 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXPOa-00036X-Ne for help-gnu-emacs@gnu.org; Sun, 24 Aug 2008 19:53:20 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KXPOX-0008RY-Ct for help-gnu-emacs@gnu.org; Sun, 24 Aug 2008 23:53:17 +0000 Original-Received: from 195.24.77.134 ([195.24.77.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Aug 2008 23:53:17 +0000 Original-Received: from david.hansen by 195.24.77.134 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Aug 2008 23:53:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 195.24.77.134 Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:6LxWEPR5AOFjo6D/ZnbtE33Fnr8= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56950 Archived-At: On Sun, 24 Aug 2008 12:38:14 -0700 (PDT) Louise Hoffman wrote: > I would prefer to use emacs, but how do I set break points? With the shiny GDB UI: Just C-x SPC in the source buffer (note that you may have to interrupt the program first if it's running). > Does there exist a guide on debugging C code using emacs? The Emacs and GDB manuals. David