From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6941 invoked by alias); 30 Jun 2009 10:14:11 -0000 Received: (qmail 6932 invoked by uid 22791); 30 Jun 2009 10:14:11 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Jun 2009 10:14:03 +0000 Received: from totara (unknown [123.255.30.198]) by viper.snap.net.nz (Postfix) with ESMTP id 8E2433DA18C; Tue, 30 Jun 2009 22:14:00 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id BC148C13F; Tue, 30 Jun 2009 22:13:58 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19017.58726.731055.416127@totara.tehura.co.nz> Date: Tue, 30 Jun 2009 10:14:00 -0000 To: =?iso-8859-1?q?Andr=E9_P=F6nitz?= Cc: gdb@sourceware.org Subject: Re: -stack-list-locals and children In-Reply-To: <200906291038.07907.andre.poenitz@nokia.com> References: <629542d40906281203o3601025at573704e36ee80565@mail.gmail.com> <200906290943.17323.andre.poenitz@nokia.com> <19016.30632.619762.345807@totara.tehura.co.nz> <200906291038.07907.andre.poenitz@nokia.com> From: nickrob@snap.net.nz (Nick Roberts) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00325.txt.bz2 > > It can be expensive to make variable objects from all the locals every time > > the frame changes but this is what Insight does, and Apple GDB has MI code > > to do it. So maybe Xcode does too. > > Apple creates variables automatically and it is not slow. It will surely depend on the program that you are debugging and the number and nature of the local variables. -- Nick http://www.inet.net.nz/~nickrob