Re: Debugging very (very) complex data structures
Marco Facchinetti <marco.facchinetti-kthxv0ud/[email protected]>
| Newsgroups | gmane.editors.websphere.iseries |
|---|---|
| Message-ID | <CAMsgu4qJUouXg_+riRcMkSufBvfixSOaFkBDKvWSWzNVxcsRaA@mail.gmail.com> |
Hi David, I don't know how to extend heaps in debug but this usually works: Dcl-Ds MonStruct3 likeds(structure.substructure.subsubstructure) based(p_MonStruct3); ... p_MonStruct3 = %addr(structure(x).substructure(y).subsubstructure(z)); and monitor MonStruct3 and x,y and z. Very ugly but functional. HTH -- Marco Facchinetti Mr S.r.l. Tel. 035 962885 Cel. 393 9620498 Skype: facchinettimarco Il giorno gio 26 giu 2025 alle ore 16:05 David Gibbs via WDSCI-L < [email protected]> ha scritto: > Folks: > > Does anyone have any advice for debugging programs that have very > complex data structures? > > I've got a number of programs that have multiple nested data structure > arrays and cannot get the debugger to show me their values. > > I either get a ... > > dbge0004E could not evaluate expression xxx > > ... or ... > > CRRDG3137E The given expression could not be monitored. > Server: CPF8E32 Debug Interpreter Heap limit reached. > > ... error messages. > > I've tried qualifying the data structure that I want to monitor as > much as possible... Using the variable the program is using to > reference the structure array element ... > structure(x).substructure(y).subsubstructure(z) > > I've also tried specifying the array index values explicitly ... > structure(1).substructure(2).subsubstructure(3) > > Neither works. > > Regarding the CPF8E32 error above ... is there a way to increase the > debug interpreter heap limit? > > Thanks! > > david > > > -- > IBM i on Power Systems: For when you can't afford to be out of business! > > I'm riding in the American Diabetes Association's Tour de Cure to > raise money for diabetes research, education, advocacy, and awareness. > You can make a tax-deductible donation to my ride by visiting > https://mideml.diabetessucks.net. > > I may have diabetes, but diabetes doesn't have me! > -- > This is the Rational Developer for IBM i (WDSCI-L) mailing list > To post a message email: [email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/wdsci-l > or email: WDSCI-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org > Before posting, please take a moment to review the archives > at https://archive.midrange.com/wdsci-l. > > > -- This is the Rational Developer for IBM i (WDSCI-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.