From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32024 invoked by alias); 16 Nov 2009 21:46:42 -0000 Received: (qmail 32010 invoked by uid 22791); 16 Nov 2009 21:46:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pw0-f51.google.com (HELO mail-pw0-f51.google.com) (209.85.160.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Nov 2009 21:45:37 +0000 Received: by pwj10 with SMTP id 10so3643556pwj.10 for ; Mon, 16 Nov 2009 13:45:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.247.5 with SMTP id u5mr896845wfh.333.1258407936113; Mon, 16 Nov 2009 13:45:36 -0800 (PST) In-Reply-To: <4B01C31A.5040509@redhat.com> References: <5d96e8200911161308n9e0c2caif70670ef5d1ad949@mail.gmail.com> <4B01C31A.5040509@redhat.com> Date: Mon, 16 Nov 2009 21:46:00 -0000 Message-ID: <5d96e8200911161345r64b3b6cau16c02c2849bef514@mail.gmail.com> Subject: Re: can't open file in Insight From: yunlu liu To: Keith Seitz Cc: insight@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00035.txt.bz2 Hi Keith, Thanks a lot for your reply. I wonder how could I manually enter the directory. I find no place to enter on the insight pannel.And I try to type"insight .../filename". It just open the insight without file loading. I appreciate your help very much. On Tue, Nov 17, 2009 at 5:24 AM, Keith Seitz wrote: > On 11/16/2009 01:08 PM, yunlu liu wrote: >> >> Hi, >> =A0 I installed insight on Ubuntu9.04. I find I couldn't use the insight >> to open *.c files. When I click File->open/source choose a *.c file, >> it shows error in sourced command file: undefined command: " ". > > The "source" is really a gdb script file, not a source file. Unfortunatel= y, > a feature was never added to Insight to allow the user to edit the source > search path, so the first time you debug something, you'll have to manual= ly > enter the directory. Insight will save this into its preferences. > > Open a console window and type "help dir". > > Keith > --=20 Best Regards!