comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: Length of unbounded_string.
Date: Fri, 28 Oct 2011 05:12:54 +0200
Date: 2011-10-28T05:12:54+02:00	[thread overview]
Message-ID: <4eaa1e0b$0$3313$703f8584@news.kpn.nl> (raw)
In-Reply-To: <j8bdtm$1hk$2@dont-email.me>

Normally I just write a short test case to try to reproduce the error, but 
in some cases the error can only be reproduced in a rather complicated 
situation. In this case the problem is found in such a complicated 
situation. In the Debugging session there seems to be a discrepancy between 
the output of the debug command and the print command. The debug command 
seems to give the same output as the program itself but the print command 
presents the expected output. This kind of problem is in general no 
reproducible in a simple program.
The problem with a small reproducible test case is just that the small 
version I wrote did not created the problem. So my question was more do I 
forget something or do I do something wrong or is there anything wrong 
somewhere in the "windows version" compiler or the "windows version" of the 
some of the packages

"Brian Drummond"  schreef in bericht news:j8bdtm$1hk$2@dont-email.me...

On Thu, 27 Oct 2011 09:56:50 +0100, Simon Wright wrote:

> "Randy Brukardt" <randy@rrsoftware.com> writes:
>
>> Even people who should know better do it (and I know I have, too). It's
>> a pain to create a reproducing example, but a lot of time when I do
>> that, it becomes clear what is wrong (and it often is "operator
>> error"!).
>
> Me too.

+1.

Though the other side is: making the reproducible test case can be
significant work in itself,. By the time you have five of them open
against a tool (all real bugs : clearly not written in Ada!) you begin to
wish you could charge the helpdesk for your time... it's easier than
justifying charging it to the project.

- Brian 




  reply	other threads:[~2011-10-28  3:14 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  9:37 Length of unbounded_string ldries46
2011-10-25 17:57 ` Jeffrey Carter
2011-10-28  2:54   ` ldries46
2011-10-28  4:55     ` Jeffrey Carter
2011-10-25 20:23 ` Vadim Godunko
2011-10-25 21:28   ` Simon Wright
2011-10-26  4:41     ` Simon Wright
2011-10-26 22:47     ` Randy Brukardt
2011-10-27  8:05       ` AdaMagica
2011-10-27  8:56       ` Simon Wright
2011-10-27 11:05         ` Brian Drummond
2011-10-28  3:12           ` ldries46 [this message]
     [not found]           ` <4eafc489$0$3081$703f8584@textnews.kpn.nl>
2011-11-01 18:22             ` Jeffrey Carter
2011-10-27 11:28         ` Georg Bauhaus
2011-10-27 12:17           ` Dmitry A. Kazakov
2011-10-27 13:31             ` Georg Bauhaus
2011-10-27 14:34               ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
2011-10-16  8:48 ldries46
2011-10-16  9:59 ` Niklas Holsti
2011-10-16 12:06   ` ldries46
2011-10-16 12:52   ` ldries46
2011-10-16 13:00     ` Niklas Holsti
2011-10-17  7:39       ` ldries46
2011-10-17 19:49         ` Niklas Holsti
2011-10-18 11:47           ` ldries46
2011-10-18 17:54             ` Niklas Holsti
2011-10-19  2:38               ` ldries46
2011-10-19  6:07                 ` Niklas Holsti
2011-10-24 15:10                   ` ldries46
2011-10-19  6:37                 ` Simon Wright
2011-10-19 14:48                 ` Alex Mentis
2011-10-24 17:04                   ` ldries46
2011-10-16 10:14 ` Vinzent Hoefler
replies disabled

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