From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11792 invoked by alias); 29 Apr 2004 23:26:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11785 invoked from network); 29 Apr 2004 23:26:41 -0000 Received: from unknown (HELO dns2.digitalglobe.com) (205.166.175.35) by sources.redhat.com with SMTP; 29 Apr 2004 23:26:41 -0000 Received: from comailgate.digitalglobe.com (comailgate.digitalglobe.com [10.10.42.50]) by dns2.digitalglobe.com (8.11.6/8.11.6) with ESMTP id i3TNW3t14509 for ; Thu, 29 Apr 2004 16:32:03 -0700 Received: from COMAIL02.digitalglobe.com ([10.10.42.60]) by comailgate.digitalglobe.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 29 Apr 2004 17:26:40 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Problem setting breakpoints Date: Fri, 30 Apr 2004 03:23:00 -0000 Message-ID: <9BFBCD030602DE4A98B0C0850B91534F205A43@COMAIL02.digitalglobe.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Grant Schoep" To: X-OriginalArrivalTime: 29 Apr 2004 23:26:40.0228 (UTC) FILETIME=[6C8F0240:01C42E41] X-SW-Source: 2004-04/txt/msg00183.txt.bz2 Using: Solaris 9 gcc 3.3.2 gdb 6.1 Hopefully I'm just doing something stupid here. I'm much more familer with Sun's dbx debugger, but now I'm living in the happy free world. I am trying to set a break point at a line in a file, the line does have functioning code at it(not a comment or something) So lets say the file name is FmtDef.cxx, the line number is 82 (Code at that line is as follows fileStream.getline(charBuffer, 255); So I start the app in gdb(here's the output). gdb ./TEST (gdb) break FmtDef.cxx:82 Breakpoint 1 at 0x11ed0: file FmtDef.cxx, line 82. (gdb) run (gdb) run Starting program: /home/qb3/prog/TEST=20 Program exited normally. (gdb) So its not stopping at that breakpoint. This code is in a constructor. I can set a breakpoint on the constructor, but not at a line in the constructor... oh... I think I know the problem after I typed that last sentence. I kind of recall reading something about this not working? ... I guess hopefully someone can confirm if this is the case or not. Thanks -grant