comp.lang.ada
 help / color / mirror / Atom feed
From: ldries46 <bertus.dries@planet.nl>
Subject: Re: How to convert a certain value to text
Date: Mon, 6 Apr 2020 16:02:38 +0200
Date: 2020-04-06T16:02:38+02:00	[thread overview]
Message-ID: <5e8b367f$0$1690$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <lyzhbo3h2u.fsf@pushface.org>

Op 6-4-2020 om 14:59 schreef Simon Wright:
> ldries46 <bertus.dries@planet.nl> writes:
>
>> I am testing a program that makes the following Error:
>> raised CONSTRAINT_ERROR : glade_convert.adb:286 access check failed
>> That happens on the line
>> Get_Iter_At_Mark(Buffer, Iter_With, with_mark);
>>   When running the program in debug mode the program never reaches this
>> line and seems to be in a loop somewhere. That means that I do want to
>> try and print some values in run modeThat must be the values of
>> f.i. with_mark but while compiling I get image attribute cannot be
>> used for a no scalar.
>> How can I still print it.
> You write your own function Image to convert the type to string (you
> may have to take extra measures if that type is private, e.g. makint
> that function a child of the package in which the type is declared).
>
> Or, you could learn to use the debugger?
I am sorry but I think I know how to use the debugger. But the debugger 
does not stop a line 286 although i have set a breakpoint at the start 
of that line. I have added a lot of statements later on to follow where 
the program is and now I can stop at line 285. I have tried all the 
tricks from the past when the olderr version of the debugger still was 
around (I mean the version with the graphical interface). Writing my own 
version of image is not an option because I only have to know which 
parameter of the procedure creates the constraint error Buffer, 
Iter_With or with_mark

  reply	other threads:[~2020-04-06 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5e8adbd9$0$18429$e4fe514c@news.kpn.nl>
2020-04-06 10:38 ` How to convert a certain value to text J-P. Rosen
2020-04-06 12:59 ` Simon Wright
2020-04-06 14:02   ` ldries46 [this message]
2020-04-06 21:52     ` Oliver Kellogg
2020-04-12 16:38       ` Stephen Leake
2020-05-09 21:09         ` Oliver Kellogg
2020-05-10  7:30           ` J-P. Rosen
2020-05-10  7:15   ` Simon Wright
replies disabled

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