From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!2001:888:0:311::2f.MISMATCH!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Newsgroups: comp.lang.ada X-Mozilla-News-Host: news://comp.lang.ada:119 From: L Dries Subject: GPS debugging problem Date: Fri, 29 Nov 2019 15:23:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit Message-ID: <5de129f3$0$1727$e4fe514c@news.kpn.nl> NNTP-Posting-Host: bfabd89f.news.kpn.nl X-Trace: G=FFUJ/UwV,C=U2FsdGVkX19dg5YCizhyM7m6H+oPhHf4YzCIhDPByS+LzaGk+0C6PMO9daVZwdPBFr4VDxcDtpDxy+6nx8kDSk6GhBVNOy1gGIPLzajUPMs= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:57616 Date: 2019-11-29T15:23:46+01:00 List-Id: 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