comp.lang.ada
 help / color / mirror / Atom feed
From: L Dries <bertus.dries@planet.nl>
Subject: GPS debugging problem
Date: Fri, 29 Nov 2019 15:23:46 +0100
Date: 2019-11-29T15:23:46+01:00	[thread overview]
Message-ID: <5de129f3$0$1727$e4fe514c@news.kpn.nl> (raw)

I have the following procedure that I a busy with degugging. I am 
working in GPS. I want to see the value of Grid(X, Y).x_val and 
Grid(X,Y).y_val
The problem in GPS is that I cannot set that element only the parameter 
Grid which is not recognized as an record, possibly because it is 
declared in another package.

    procedure On_OK(Object : access Gtk_Button_Record'Class) is
       pragma Unreferenced (Object);
       n_ch : integer;
    begin
       n_ch := choices(integer(Get_Active(Fill_Dialog.StrN_Combo)));
       Grid(X, Y).Fill := n_ch;
       Grid(X, Y).Status := manual;
       Set_Impossible(Grid(X, Y).x_val, Grid(X, Y).y_val);
       Make;
       On_Dialog_End(null);
    end On_OK;

What to do to see those values
-- 
L. Dries


             reply	other threads:[~2019-11-29 14:23 UTC|newest]

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

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