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



Greg,

As Glenn mentioned, if you use SEPs then it's pretty easy to debug server
processes ( well, threaded stuff can be trickier ).

In addition to the notes Glenn gives - you also have to ensure that you set
the correct user that the program will be running under in the batch
process.

To do this, once you have set the SEP and can see the program in the SEP
view, you can right click or double click ( sorry I don't have RDi running
on this machine ) and amend the user to be the correct one.

regards,

On 25 April 2016 at 22:29, Glenn Gundermann <glenn.gundermann@xxxxxxxxx>
wrote:

I don't have a tutorial, so I'm not directly answering your post.
I don't see you mention Service Entry Points in your notes.
This is key.
Right-click the program (or module, or procedure) > Debug or Code Coverage
(Service Entry) > Set Service Entry Point


Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (416) 675-9200 ext. 89224
Cell: (416) 317-3144


On 25 April 2016 at 16:52, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:

Does anyone have a good tutorial on debugging in RDi? Specifically,
debugging Apache CGI jobs running in subsystem QHTTPSVR.

I can find the job (WRKACTJOB), find the same job in RDi Remot System
view, right click and select Debug (Prompt), etc. Then I'm able to debug
the job a few times before it seems to cease breaking at my breakpoints.

If I use the green screen STRSRVJOB and STRDBG I do not have this issue.

Really a PITA to debug these things with RDi.

Greg
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.