comp.lang.ada
 help / color / mirror / Atom feed
From: NiGHTS <nights@unku.us>
Subject: Re: Problems with the "mwindows" switch
Date: Tue, 2 Jun 2015 15:33:12 -0700 (PDT)
Date: 2015-06-02T15:33:12-07:00	[thread overview]
Message-ID: <1dbceb5d-732d-45d2-8321-9317c6eee81d@googlegroups.com> (raw)
In-Reply-To: <b69ed49c-391e-4c75-92cc-ca92e9ddbac7@googlegroups.com>

On Saturday, May 23, 2015 at 4:23:46 PM UTC-4, gautier...@hotmail.com wrote:
> Le vendredi 22 mai 2015 20:35:59 UTC+2, NiGHTS a écrit :
> 
> > Unfortunately when the "mwindows" flag is set not only does the GUI not appear as expected, but I don't get any feedback on the command console either. It makes me think that there is something fundamentally broken with the executable itself.
> 
> It is an unfortunately normal behavior. Each console output when there is not console due to -mwindows will stop the program...
> So you need to remove all you put's or put_line's or frame them inside a condition.
> 
> if trace then
>   put(...);
> en if;
> 
> _________________________ 
> Gautier's Ada programming 
> http://gautiersblog.blogspot.com/search/label/Ada 
> NB: follow the above link for a valid e-mail address

This worked. 

I don't mind this limitation though as I expected to eventually pipe all debug data to SQLite. I'm surprised that Windows doesn't give me any useful feedback about the problem, especially since this problem appeared to have occurred before main thus out of reach of debugging. 

Wouldn't it be the Ada way to scream violently before its death instead of quietly accepting its fate? I have a feeling Windows is inherently the problem here.

  reply	other threads:[~2015-06-02 22:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 18:35 Problems with the "mwindows" switch NiGHTS
2015-05-22 19:24 ` sbelmont700
2015-05-22 19:51   ` NiGHTS
2015-05-23  5:33     ` Dmitry A. Kazakov
2015-05-23  7:20       ` NiGHTS
2015-05-23  8:06         ` Dmitry A. Kazakov
2015-05-28 22:19   ` Randy Brukardt
2015-05-28 23:49     ` sbelmont700
2015-05-29 21:24       ` Randy Brukardt
2015-05-29 21:36         ` Jeffrey R. Carter
2015-05-29 22:10           ` Simon Wright
2015-05-30  0:08           ` Dennis Lee Bieber
2015-06-01 21:24           ` Randy Brukardt
2015-06-01 23:12             ` sbelmont700
2015-05-29 11:00     ` Björn Lundin
2015-05-23 20:23 ` gautier_niouzes
2015-06-02 22:33   ` NiGHTS [this message]
2015-06-03  6:42     ` Simon Wright
2015-06-03  8:27       ` J-P. Rosen
replies disabled

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