comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: GPS debugging problem
Date: Wed, 6 Jan 2016 12:26:07 +0100
Date: 2016-01-06T12:26:07+01:00	[thread overview]
Message-ID: <568cfa8f$0$24130$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <ef9b8c09-74bb-4cb7-b769-2e4045d7c646@googlegroups.com>

My code is compiled with the no optimazation button is GPS activated.
In the meantime I found the following.:
In the if statement only one statement was positoned. because I was testing 
if the program reached the part within the statement under the correct 
circumstances. First I used the null statement, lateron a statement in te 
form n := n; just to do somthing. Then I placed a second statement in the if 
statement At that moment the brakpoint was reached under correctly.

schreef in bericht 
news:ef9b8c09-74bb-4cb7-b769-2e4045d7c646@googlegroups.com...

I would guess your code is compiled with full optimization (-O2 for 
instance), which is generally not a good idea when you need to debug. I 
would recommend using -O1 or even -O0 instead, and recompile at least that 
file 


  reply	other threads:[~2016-01-06 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 10:57 GPS debugging problem ldries46
2016-01-06  9:05 ` briot.emmanuel
2016-01-06 11:26   ` ldries46 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-29 14:23 L Dries
replies disabled

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