|
Phil, To see your array element, you could always type arrayName[index] in Monitor Expression dialog. Another alternative (starting V5R1) is that you could use storage monitor to see the contents of your array. You could do that by right click on the array name and select Storage Monitor context menu. Thanks, Xuan Chen, Debug for iSeries (905) 413-3769 T/L 969-3769 xuanchen@ca.ibm.com Xuan Chen/Toronto/IBM@IBMCA@midrange.com on 01/29/2002 11:33:48 AM Please respond to code400-l@midrange.com Sent by: code400-l-admin@midrange.com To: code400-l@midrange.com cc: Li Ding/Toronto/IBM@IBMCA Subject: Re: Monitoring arrays in Distributed Debugger Phil, See my answer below... Regards, Xuan Chen, Debug for iSeries (905) 413-3769 T/L 969-3769 xuanchen@ca.ibm.com Phil Groschwitz <sublime78ska@yahoo.com>@midrange.com on 01/29/2002 10:58:02 AM Please respond to code400-l@midrange.com Sent by: code400-l-admin@midrange.com To: code400-l@midrange.com cc: Subject: Re: Monitoring arrays in Distributed Debugger Xuanchen, > > In order to display array element starting at index > 9600, you probably need > to do the following: > in Monitor Expression dialog, type in "myArrayName + > 9600". Trying to do this I get CPF7E15. Answer: This support only available for c family language. > > Choose "Show subelements..." menu > item. The Array Element > Expansion dialog will come up. You could set your > range using it. > This is what I was trying to do originally. I get no errors but what's in the monitor pane is the first 500 elements. I also went into File|Preferences|Debug and for the pgm I'm debugging I changed the DefaultArray/Struct/Class start/max to maximum number of elements = 500 and starting element = 9500. Makes no effect on the array elements displayed in the monitors pane. Answer: Right now, it only works for subelements between startingDisplayPoint (like myArrayName+9500) to 255, and only works for c family languages. We've awared this debug limitation, and will try to improve it in our next release. Maybe I should note that I'm debugging an RPG pgm. Phil __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l or email: CODE400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.