From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=BAYES_20,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6c88d608f416c108,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-12 09:03:35 PST Path: nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!EU.net!sun4nl!hacktic!mbase97.xs4all.nl!gijs From: gijs@mbase97.xs4all.nl (Maarten Landzaat) Newsgroups: comp.lang.ada Message-ID: Organization: M-BASE Subject: Anyone built a debugger for Ada? Reply-To: gijs@mbase97.xs4all.nl X-Software: HERMES GUS 1.10 Rev. May 17 1993 Date: Sat, 12 Nov 1994 14:37:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: 1994-11-12T14:37:10+02:00 List-Id: 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!