comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: Garbage Collection ???
Date: Sat, 14 Apr 2012 05:21:00 +0200
Date: 2012-04-14T05:21:00+02:00	[thread overview]
Message-ID: <4f88ed79$0$2660$703f8584@news.kpn.nl> (raw)
In-Reply-To: <jmaai4$aga$1@dont-email.me>

I do have all errors turned on.
As I am using linked lists the most easy way to check for the last item is 
to check on NULL in the next part.
It should while debugging also generate an error if I have made an error.

At this moment I found a typing error in some other part of the program 
which is used in a Task using OpenGL.
It seems that that was the error.

"Brian Drummond"  schreef in bericht news:jmaai4$aga$1@dont-email.me...

On Fri, 13 Apr 2012 21:27:23 +0200, ldries46 wrote:

> I have been trying to find the place where a faulty pointer could have
> been introduced and I come to the conclusion that the return of a
> procedure in the place.
> I did position some variables (edge_debug1 till edge_debug4) to be
> filled with the value of the original pointer at various places

I would declare these variables as not null access whatever, to get an
exception on assignment to them, rather than waiting until the error
manifests as a segv. (Do you have a lot of checks turned off, so that it
doesn't raise Storage_Error)?

- Brian 




  reply	other threads:[~2012-04-14  3:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13 12:14 Garbage Collection ??? ldries46
2012-04-13 13:20 ` Dmitry A. Kazakov
2012-04-13 19:27   ` ldries46
2012-04-13 20:06     ` Dmitry A. Kazakov
2012-04-13 22:49     ` Brian Drummond
2012-04-14  3:21       ` ldries46 [this message]
2012-04-14 18:21         ` Robert A Duff
2012-04-18  9:07           ` Julian Leyh
2012-04-19 14:36             ` Robert A Duff
2012-04-19 20:26               ` Randy Brukardt
2012-04-20  7:11                 ` Dmitry A. Kazakov
2012-04-21  0:46                   ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
1992-04-22 18:55 Garbage collection? dog.ee.lbl.gov!overload.lbl.gov!agate!spool.mu.edu!yale.edu!jvnc.net!darw
1992-04-21 23:48 Robert I. Eachus
1992-04-21 23:02 Rick Hudson
1992-04-21 21:09 titan.ksc.nasa.gov!mcroberts
replies disabled

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