This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: insight won't debug my program
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Martin Alley <martin dot alley at ntlworld dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 29 Sep 2003 01:03:08 -0700
- Subject: Re: insight won't debug my program
- Organization: Red Hat Inc.
- References: <001f01c385d1$8c235250$3300a8c0@martinjfalley.com>
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 <hunt@redhat.com>
Red Hat Inc.