From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9396 invoked by alias); 2 Nov 2009 21:53:51 -0000 Received: (qmail 9387 invoked by uid 22791); 2 Nov 2009 21:53:51 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Nov 2009 21:53:46 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA2LriOj026324; Mon, 2 Nov 2009 16:53:44 -0500 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA2Lre8g028605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Nov 2009 16:53:43 -0500 Message-ID: <4AEF54E4.2070209@redhat.com> Date: Mon, 02 Nov 2009 21:53:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: =?ISO-8859-1?Q?=22Mar=EDa_de_los_A=2E_V=E1zquez=22?= CC: insight@sourceware.org Subject: Re: Fw: Initialization Commands References: <4AEF4006.8020604@redhat.com> <50C6D56245CE4AFDBA0A2853C2CA378D@HELP3> In-Reply-To: <50C6D56245CE4AFDBA0A2853C2CA378D@HELP3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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: 2009-q4/txt/msg00010.txt.bz2 On 11/02/2009 01:34 PM, María de los A. Vázquez wrote: > It returns 1. What do you mean with "environment"? Yup. So that means your IDE is passing "-nx" to gdb/insight, suppressing reading of preferences. I don't know what platform you are on (Windows? Linux? Solaris? HPUX?), but if you set the environment variable INSIGHT_FORCE_READ_PREFERENCES, insight will ignore the "-nx" flag. On any unix-like box (including Cygwin), you can set the variable by using: $ export INSIGHT_FORCE_READ_PREFERENCES=1 It has been a long time since I used a windows box, but a quick search got me this page from Microsoft's support pages (this is for XP -- I am sure something similar exists for Vista or Windows 7): http://support.microsoft.com/kb/310519 > Something that is also really important for me is that gdb/insight could > keep the breakpoints > that I already declared. Did you know in which file does gdb/insight > save this information? Insight does this automatically, when preferences are being read. They would be stored in the preferences file, .gdbtkinit on *nix and gdbtk.ini on windows (all in $HOME). Keith