public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight won't debug my program
@ 2003-09-28 15:39 Martin Alley
  2003-09-29  8:03 ` Martin M. Hunt
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Alley @ 2003-09-28 15:39 UTC (permalink / raw)
  To: insight

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?

 

Thanks all

Martin

 

 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: insight won't debug my program
  2003-09-28 15:39 insight won't debug my program Martin Alley
@ 2003-09-29  8:03 ` Martin M. Hunt
  2003-09-29 13:43   ` Martin Alley
  0 siblings, 1 reply; 3+ messages in thread
From: Martin M. Hunt @ 2003-09-29  8:03 UTC (permalink / raw)
  To: Martin Alley; +Cc: insight

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: insight won't debug my program
  2003-09-29  8:03 ` Martin M. Hunt
@ 2003-09-29 13:43   ` Martin Alley
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Alley @ 2003-09-29 13:43 UTC (permalink / raw)
  To: 'Martin M. Hunt'; +Cc: insight

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 <hunt@redhat.com>
Red Hat Inc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-29 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-28 15:39 insight won't debug my program Martin Alley
2003-09-29  8:03 ` Martin M. Hunt
2003-09-29 13:43   ` Martin Alley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).