From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6992 invoked by alias); 20 Mar 2011 12:57:16 -0000 Received: (qmail 6981 invoked by uid 22791); 20 Mar 2011 12:57:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from gmmr1.centrum.cz (HELO gmmr1.centrum.cz) (90.183.38.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Mar 2011 12:57:10 +0000 Received: from mail1009.cent (lb1-gmcz-self.centrum.cz [90.183.38.132]) by gmmr1.centrum.cz (Postfix) with ESMTP id 71A97800859F for ; Sun, 20 Mar 2011 13:57:07 +0100 (CET) Received: by mail1009.cent (Postfix, from userid 33) id 672962366B; Sun, 20 Mar 2011 13:57:07 +0100 (CET) To: Subject: Insight - weird behavior Received: from 147.32.120.57 (X-Forwarded-For: 147.32.120.57) by mail1009.centrum.cz (centrum.cz multimail) with HTTP Date: Sun, 20 Mar 2011 12:57:00 -0000 From: "Dusan Hudecek" MIME-Version: 1.0 Message-Id: <20110320135707.3064A9ED@centrum.cz> X-Maser: Georgo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00018.txt.bz2 Greetings,   my name is Dusan Hudecek and I wanted to use something better then console GDB for debugging. I downloaded Insight and tried to debug my application with it. It looked great but I noticed a wierd behaivor. When I compiled my code using -ggdb and then opened application by Insight I could not make a breakpoint in many methods. So I  tried to find what caused that problem. Finally I ended up with this example code: #include #include using namespace std; class Test { string x; string y; // if commented then it is possible to make breakpoints in "main" function }; int main(int argc, char **argv) { cout