From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: GPS Breakpoint Error witing debugging an Ada program
Date: Wed, 6 Jan 2016 12:31:22 +0100
Date: 2016-01-06T12:31:22+01:00 [thread overview]
Message-ID: <568cfbc0$0$24168$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <ly37ucmbpa.fsf@pushface.org>
I was using no optimazation. I was already using one dummy statement within
the if statement because I had to know if the if statement worked correctly.
Putting a second dummy statement in the body of the if statement was a
solution
"Simon Wright" schreef in bericht news:ly37ucmbpa.fsf@pushface.org...
"ldries46" <bertus.dries@planet.nl> writes:
> In my Ada program I want a breakpoint within an if statement. In the
> Breakpoint Editor I can find that breakpoint as nr 4 on line 325. When
> running the debugger It stops on line 327, just without the if
> statement. I tried to delete the breakpoint and positioning it again,
> deleting the exe file and compiling my program, but nothing
> helps. What can I do?
Are you compiling without optimisation? (-O0)
You could try adding dummy statements around the code on line 325?
prev parent reply other threads:[~2016-01-06 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 12:27 GPS Breakpoint Error witing debugging an Ada program ldries46
2016-01-05 12:51 ` Simon Wright
2016-01-06 11:31 ` ldries46 [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox