Re: Debugging very (very) complex data structures
Daniel Gross <[email protected]>
| Newsgroups | gmane.editors.websphere.iseries |
|---|---|
| Message-ID | <[email protected]> |
Hi David, I had similar problems lately when debugging - I defined a based field and data structure and set the pointer to the pointer to the right address - so I could look at the correct part at my breakpoint. I also tried the "System Debugger" that is supplied by iACS - but I found other problems with that one. I haven't tried the Code4i debugger - maybe this one will give better results. Have you already tried it with STRDBG? As cumbersome and humble as it is, sometimes it's my last resort, if everything else fails me. I would be happy to hear, if you found another solution. HTH and kind regards, Daniel > Am 26.06.2025 um 16:05 schrieb David Gibbs via WDSCI-L <[email protected]>: > > 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: [email protected] > 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: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.