comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to convert a certain value to text
Date: Mon, 06 Apr 2020 13:59:53 +0100
Date: 2020-04-06T13:59:53+01:00	[thread overview]
Message-ID: <lyzhbo3h2u.fsf@pushface.org> (raw)
In-Reply-To: 5e8adbd9$0$18429$e4fe514c@news.kpn.nl

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?

  parent reply	other threads:[~2020-04-06 12:59 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 [this message]
2020-04-06 14:02   ` ldries46
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