comp.lang.ada
 help / color / mirror / Atom feed
* Glide problems
@ 2001-03-07 10:21 Peter Brylde
  2001-03-07 21:40 ` Stephen Leake
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Brylde @ 2001-03-07 10:21 UTC (permalink / raw)


Hi,
I have Red Hat 7 that is working without problems on a Dell PC
Have installed all necessary RPM:s on the machine (gnat-3.13p-5.i386.rpm

 and gnat-3.13p-runtime-1-5.i386.rpm)

 The problem is that I can't debug using DDD in Glide. I get an error
saying:
 /usr/bin/gnatddd: exec: ddd: not found

 Also when I run the application and enter som values, pressing return
 nothing happens..

 Thanks
 /Peter Brylde




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

* Re: Glide problems
  2001-03-07 10:21 Glide problems Peter Brylde
@ 2001-03-07 21:40 ` Stephen Leake
  2001-03-08  8:00   ` Peter Brylde
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Leake @ 2001-03-07 21:40 UTC (permalink / raw)


Peter Brylde <peter.brylde@capgemini.se> writes:

> Hi,
> I have Red Hat 7 that is working without problems on a Dell PC
> Have installed all necessary RPM:s on the machine (gnat-3.13p-5.i386.rpm
> 
>  and gnat-3.13p-runtime-1-5.i386.rpm)
> 
>  The problem is that I can't debug using DDD in Glide. I get an error
> saying:
>  /usr/bin/gnatddd: exec: ddd: not found

This is saying it can't find the executable "ddd" in the current path. 

Can you execute "ddd" outside of Glide? If not, you need to install
it. If you can, you need to make sure the path is set correctly in
Glide. See the "exec_path" lisp variable.

>  Also when I run the application and enter som values, pressing
>  return nothing happens..

You'll have to post some example code, and say what you expect vs what
you get, for help with this.

>  
> 
>  Thanks /Peter Brylde
> 

-- 
-- Stephe



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

* Re: Glide problems
  2001-03-07 21:40 ` Stephen Leake
@ 2001-03-08  8:00   ` Peter Brylde
  2001-03-08 17:50     ` Stephen Leake
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Brylde @ 2001-03-08  8:00 UTC (permalink / raw)


> Thanks for your fast response!

I get the same error message trying to run ddd outside Glide as well. The
file does not exist.. I presumed that the file were included in one of the
gnat RPMs? Do you know where I can find it?

Regarding the "nothing happens when I insert values", it must be something
with Glide, because when I execute the file outside Glide everything works
perfectly

Thanks a bunch!
/Peter




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

* Re: Glide problems
  2001-03-08  8:00   ` Peter Brylde
@ 2001-03-08 17:50     ` Stephen Leake
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2001-03-08 17:50 UTC (permalink / raw)


Peter Brylde <peter.brylde@capgemini.se> writes:

> > Thanks for your fast response!
> 
> I get the same error message trying to run ddd outside Glide as well. The
> file does not exist.. I presumed that the file were included in one of the
> gnat RPMs? Do you know where I can find it?

ddd is a standard debugger interface, I assume you can find it where
you find other Red Hat packages. I am just getting started with Linux,
using Debian, so I can't be more specific.

> Regarding the "nothing happens when I insert values", it must be
> something with Glide, because when I execute the file outside Glide
> everything works perfectly

When you "execute the file in Glide", do you start a shell in Glide
and then execute the file from the shell prompt? If so, you need to be
aware that Glide (which is just another name for Emacs) is buffering
your keystrokes, and only sends your input to the application when you
hit return. In your Ada code, Get_Line will work properly,
Get_Immediate won't.

> 
> 
> Thanks a bunch! /Peter
> 

-- 
-- Stephe



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

end of thread, other threads:[~2001-03-08 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-07 10:21 Glide problems Peter Brylde
2001-03-07 21:40 ` Stephen Leake
2001-03-08  8:00   ` Peter Brylde
2001-03-08 17:50     ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox