comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: GPS Debugger exit when "Ada.Text_IO.Put_Line" reached.
Date: Sat, 02 Apr 2016 12:06:01 -0400
Date: 2016-04-02T12:06:01-04:00	[thread overview]
Message-ID: <s6rvfbpces80hk7vbvrs31rqen2trgtv0u@4ax.com> (raw)
In-Reply-To: bcdab34d-6f82-4d92-8c5e-fe52a7e6b7a2@googlegroups.com

On Sat, 2 Apr 2016 02:51:57 -0700 (PDT), George J <ivanov_george@list.ru>
declaimed the following:

>???????, 1 ?????? 2016 ?., 14:13:21 UTC+3 ???????????? George J ???????:
>> Hi all!I'm using GNAT GPS in my project. I have a problem with debugging. When debugger reaches line "Ada.Text_IO.Put_Line("Something");" it exit with "[Inferior 1 (process X) exited with code 1]". So I can't understand, how I can solve this problem. And BTW I have a question, is there any feature to display only "Debug Messages" in console or not? 
>> Thanks.
>
>I've found one solution.
>Before my project is completed I delete "-mwindows" flag from linker, and
>console messages are displaying now on the Wnd console (cmd.exe).
>
>But the question "How I can make onle Debug Messages?" is still opened for me..

http://stackoverflow.com/questions/11825945/ada-linker-mwindows-option-kill-text-output

It would seem that the -mwindows option means "do not link console
startup", with no console, there is no stdin/stdout/stderr to which you
could send your messages.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/


  reply	other threads:[~2016-04-02 16:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 11:13 GPS Debugger exit when "Ada.Text_IO.Put_Line" reached George J
2016-04-01 12:18 ` Simon Wright
2016-04-01 12:43   ` George J
2016-04-01 12:44     ` George J
2016-04-01 23:45     ` Dennis Lee Bieber
2016-04-02  5:46   ` George J
2016-04-02  9:51 ` George J
2016-04-02 16:06   ` Dennis Lee Bieber [this message]
2016-04-04  7:53   ` briot.emmanuel
2016-04-05  1:27     ` George J
replies disabled

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