From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23891 invoked by alias); 16 Jan 2006 15:31:23 -0000 Received: (qmail 23878 invoked by uid 22791); 16 Jan 2006 15:31:20 -0000 X-Spam-Check-By: sourceware.org Received: from sadr.equallogic.com (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jan 2006 15:31:14 +0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id k0GFVBpI027220 for ; Mon, 16 Jan 2006 10:31:11 -0500 Received: from M31.equallogic.com (M31.equallogic.com [172.16.1.31]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id k0GFVBih027215; Mon, 16 Jan 2006 10:31:11 -0500 Received: from pkoning.equallogic.com ([172.16.1.169]) by M31.equallogic.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 16 Jan 2006 10:31:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17355.48188.563284.912064@gargle.gargle.HOWL> Date: Mon, 16 Jan 2006 15:31:00 -0000 From: Paul Koning To: comar@adacore.com Cc: drow@false.org, hilfingr@gnat.com, gdb@sourceware.org Subject: Re: : Re: [RFC] multiple breakpoints from FILE:LINE References: <43C9AAA8.2030605@adacore.com> <17354.31047.417000.385481@gargle.gargle.HOWL> <20060115164459.GA5390@nevyn.them.org> <43CBA0D7.3000903@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00144.txt.bz2 Daniel Jacobowitz wrote: > I've yet to see a compelling reason to break on one constructor and not > the other. Most users don't even know the difference between when each > is called. I am not familiar at all with C++ debugging, so the situation is not clear to me: To break on constructors, do you use the FILE:LINE of the class? Wouldn't that break on destructors as well? (or any other type specific implicit operation, if such thing exists in C++) I'm assuming the case where a programmer wrote an explicit constructor. In that case, you can break on it either by name ("Class::Class") or by line number (pointing at the constructor function body). paul