comp.lang.ada
 help / color / mirror / Atom feed
* GNAT GPS Debugger problem with Unbounded Strings
@ 2019-07-09  7:26 ldries46
  0 siblings, 0 replies; only message in thread
From: ldries46 @ 2019-07-09  7:26 UTC (permalink / raw)


When using the debugger in GPS I encounter an inconsistant behaviour.

Using an Unbounded String (f.i. In_String) I have to go inside the string to 
find In_String.reference.dat to get som view on the used string.
In some cases I See the complete string followed by hexadecimal values in 
square brachets (the not used positions): "aaa[a0][b1] etc."
somtimes I see only a part of the string, When I use len(In_String) I get a 
value of 17 and I see only "abcdefgh" without the following hexadecimal 
presentation of the unused positions. Last I had a parameter of the forn

type New_Line is record
   typ     : Natural
   str      : Unbounded_String;
end record;

Which deleverd for str.str the complete string I had put into the record
so str.str   "abcdefgh"

It seems to me thatr these results are inconsistant, but it is possible that 
somwhere I have not set a property
Who can help?

Bertus Dries 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-09  7:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09  7:26 GNAT GPS Debugger problem with Unbounded Strings ldries46

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