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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d423dccf160531eb X-Google-Attributes: gid103376,public From: Jackie & Barry Schiff Subject: Re: GDB w/GNAT 3.11p w/NT4.0 Question Date: 1999/03/13 Message-ID: <36EA7B3F.AB91BB97@netspace.net.au>#1/1 X-Deja-AN: 454433406 Content-Transfer-Encoding: 7bit References: <36E81651.5B91E3D3@netspace.net.au> <7cb8fc$o2f$1@cnn.Princeton.EDU> To: "Martin C. Carlisle" X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@netspace.net.au X-Trace: otis.netspace.net.au 921296909 17571 210.15.251.141 (13 Mar 1999 03:48:29 GMT) Organization: A customer of Netspace Internet Mime-Version: 1.0 NNTP-Posting-Date: 13 Mar 1999 03:48:29 GMT Newsgroups: comp.lang.ada Date: 1999-03-13T03:48:29+00:00 List-Id: Here is a small program that will show this behavior. with Text_Io; procedure Show_Debugger_Problem is Line : String(1..100); Length : Natural; begin Text_Io.Put("Enter Line : "); Text_Io.Put_Line(Item => Line, Last => Length); Text_Io.Put_Line("You Entered " & Line(1..Length)); end Show_Debugger_Problem; --Barry Schiff Martin C. Carlisle wrote: > I have not experienced this problem, but I suggest the following to > narrow it down: > > 1) Reinstall and see if it goes away. (Unfortunately, this happens > far too often on Windows). > > 2) run GDB from a DOS prompt (gdb myprogram.exe) > and see if it exhibits the same behavior. > > If so, then you've isolated the problem to be outside the editor. The > > GNAT chat list may be a good source of expert advice. Email > chat-request@gnat.com to join. > > If not, then I suppose it becomes my problem. Email me at > carlislem@acm.org > Please include a copy of the smallest program that behaves poorly. > > --Martin > > In article <36E81651.5B91E3D3@netspace.net.au>, > Jackie & Barry Schiff wrote: > >I am using it under NT 4.0, and so far am using the AdaGIDE editor > >environment installed with it (used to use EMACS and maybe will > switch > >again but just giving this a try). Anyhow I have a program with > text_io > >input/output. When I go to run it under the debugger, which I do by > >hitting the debug button inside of AdaGIDE, the output seems to get > >correctly redirected to an MSDOS command window but it appears that > the > >input does not. Thus the program bombs once it gets to an input > >statement (eg. Text_io.Get_Line). Surely I must be doing something > >wrong I just have not dug it out yet. If anybody knows the answer I > >would surely appreciate it. > > -- > Martin C. Carlisle, Asst Prof of Computer Science, US Air Force > Academy > mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html > DISCLAIMER: This content in no way reflects the opinions, standards > or > policy of the US Air Force Academy or the United States Government.