comp.lang.ada
 help / color / mirror / Atom feed
* Anyone built a debugger for Ada?
@ 1994-11-12 12:37 Maarten Landzaat
  1994-11-14  3:42 ` Henri Altarac
  0 siblings, 1 reply; 6+ messages in thread
From: Maarten Landzaat @ 1994-11-12 12:37 UTC (permalink / raw)


Hi,

I'm trying to build a simple debugger for Ada programs, because Adaprobe
(debugger from Alsys) does not work in our environment. I'll describe
my plans below. Maybe you have any experience in this field, or have
other useful suggestions for me. I'd be thankful for your response!

I am currently developing a filter for Ada source files, that basically
adds 'debug'-code, like "entering procedure DO_THIS", or "I'm on line
234 of file MAIN.ADA now", or "variable 'i' has type 'T' and is on
address 2345 now". All these messages will be passed to a debugger-'kernel',
which will be able to display certain variables when the program happens
to be on a certain line in the source code.

I use AYACC/AFLEX with the supplied Ada grammar for the filter. I just got
it to work, and with a few statements I managed to add lines that
log the entering/exiting of procedures, and display 'in' and 'inout' 
parameters on procedure entry. It seems like a great tool to add whatever
statements I want.

My problem now is that I need a filter that eats type definitions, and
emits overloaded procedures 'imag()' or something that return string
representations of variables of all the types in any program. 
I thought that maybe someone already built such a tool. If you know
of such a tool, would you please point me in the right direction?

Thanks in advance,
-- 
Maarten Landzaat (gijs@mbase97.xs4all.nl)
Amsterdam, Double bass, Fender Jazz Bass, Atari ST, Roland Sound Canvas.
Listen to M-BASE music!



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

end of thread, other threads:[~1994-11-18 21:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-11-12 12:37 Anyone built a debugger for Ada? Maarten Landzaat
1994-11-14  3:42 ` Henri Altarac
1994-11-14  6:46   ` Maarten Landzaat
1994-11-15 17:55     ` Henri Altarac
1994-11-17 11:56       ` Maarten Landzaat
1994-11-18 21:53     ` Pascal Martin @lone

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