From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9992 invoked by alias); 26 Jul 2007 23:53:29 -0000 Received: (qmail 9984 invoked by uid 22791); 26 Jul 2007 23:53:28 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Jul 2007 23:53:24 +0000 Received: by wx-out-0506.google.com with SMTP id s7so612535wxc for ; Thu, 26 Jul 2007 16:53:22 -0700 (PDT) Received: by 10.70.116.1 with SMTP id o1mr3898972wxc.1185494002535; Thu, 26 Jul 2007 16:53:22 -0700 (PDT) Received: by 10.70.125.17 with HTTP; Thu, 26 Jul 2007 16:53:22 -0700 (PDT) Message-ID: Date: Fri, 27 Jul 2007 00:39:00 -0000 From: kdsfinger@gmail.com To: gdb@sourceware.org Subject: no symbol in current context problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2007-07/txt/msg00186.txt.bz2 hi, all I got the "no symbol 'xxx' in current context" message when I am using DDD to debug a very simple c++ program. Following is the trouble code. Test::Test(){ int n = 100; //breakpoint for (int i = 0; i < 3; i++) //breakpoint std::cout<