×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




On 12/27/2016 11:41 AM, Dan wrote:
That last one, "Extract Local Variable", I can't tell you how many times I
would have paid good money to have that when I was deep in debugging a
program running in production. Although, after watching the video, I'm
unclear that this could work while debugging a Power i program, since it
seems like it would have to change the program object, which would
(should?) be impossible.

It's not a change to the debugger; rather, it is a change to the source.
Once the program gets recompiled, the debugging gets easier :-)

Unless, RPG programs actually use a local hidden
variable that the debugger can observe. Specifically, what I would want to
do is to highlight
%substr(getCustName(getCustId(salesHistoryId)): 1: 1)
then right-click it, then select something labeled "View Function Result".

You might consider putting that into an RFE. As far as I know, the RPG
compiler doesn't export intermediate results for 'public' / debugger
consumption, but it might be feasible... Along with that, imagine
'change expression result'. Think big!


This thread ...


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

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