× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 <wdsci-l@xxxxxxxxxxxxxxxxxx>:

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: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.