From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7281 invoked by alias); 29 Sep 2003 13:43:39 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 7274 invoked from network); 29 Sep 2003 13:43:38 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (62.253.162.45) by sources.redhat.com with SMTP; 29 Sep 2003 13:43:38 -0000 Received: from dell ([81.96.68.210]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20030929134337.MLXJ2197.mta05-svc.ntlworld.com@dell>; Mon, 29 Sep 2003 14:43:37 +0100 From: "Martin Alley" To: "'Martin M. Hunt'" Cc: Subject: RE: insight won't debug my program Date: Mon, 29 Sep 2003 13:43:00 -0000 Message-ID: <004c01c3868f$aba15c30$3300a8c0@martinjfalley.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <1064822588.2357.16.camel@dragon> X-SW-Source: 2003-q3/txt/msg00180.txt.bz2 Hi Richard, I found that if I executed a run command in the command window, it then ran successfully, breaking at my breakpoints. I will try not putting anything the xterm field. Admittedly, when it ran as described above, then program ran in the window I ran sourcenavigator from, not the xterm window established by xterm -e. Thanks so far Martin -----Original Message----- From: Martin M. Hunt [mailto:hunt@redhat.com] Sent: 29 September 2003 09:03 To: Martin Alley Cc: insight@sources.redhat.com Subject: Re: insight won't debug my program On Sun, 2003-09-28 at 08:02, Martin Alley wrote: > Hi All, > > I want to debug a program on RedHat 9 (to which I am fairly new). > I have downloaded, made and installed Insight/gdb5.3 (./configure, > ./make, ./make install) > > I want to try "debugging" the monop demo C program. > I have set up the debugger to run monop, and the working directory is > that of monop. > > The xterm field is set to xterm -e > When I click debug, an xterm window comes up with the following > contents: > " > xterm: Can't execvp -T: No such file or directory > [martin@rh9 monop]$ > " > > > I get the insight source window, set a breakpoint at the first > executable line in main, and hit run - insight then hangs. (cursor is > watch symbol). > > I have left the command to run insight as insight - not changed it to > gdb in contradiction to the readme instructions with sourcenavigator. > > > How do I troubleshoot my problem? I don't have a copy of 5.3 around, but I don't recall an xterm field, just a checkbox. Does Insight work if you don't use xterm? Can run debug your program with GDB? -- Martin M. Hunt Red Hat Inc.