× 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,

Something I worked out when debugging SQLRPGLE procedures was that you
needed to set a breakpoint when your debugee source first presented
itself in the WDSC debug perspective. If you didn't, the procedure would
never stop again. (Or it seems that way to me.)

Also, if you have an OPM CL program between two RPGLE programs (i.e. A
calls B which calls C, where B is CL and A&C are RPGLE), you can not
debug the second RPGLE program more than once (Unless you reset the
service entry point.) I don't know why, and I didn't get a response from
this list when I reported it sometime back. We converted the CLs to
CLLEs to get past this little problem.

Do either of these situations look like yours?


Best regards,
Paul

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Adam Glauser
Sent: 11 March 2008 14:24
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Debugging Blues

dnitke wrote:
Program A calls Program B
Program C calls Program B
Program D calls Program B --- want to debug this call

2. Adding new programs to a run in WDSCi debugger doesnt seem to work.
Take the above scenerio; I then thought hey I will start debugging
Program D and add Program B afterwards because if I add it from the get
go it will catch the first call and I'm screwed. So I start the debug
with only Program D. Hit F6 to the call then change the properties to
add Program B, hit F6 and the program never comes up like 5250 showing
the source until the actual abend occurs (problem I'm fixing) which is
way into the processing of the program.

If I follow your meaning, a workaround would be to set a breakpoint on
the call to Program B from program D, then when you hit that breakpoint
to a 'step into' to start debugging program B.

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-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.