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



If you want to debug Java in RDi, you need to have your Java source in a Java project in RDi. When I click Browse, I see a list of all my Java projects. Then I choose the one that contains the source I want to debug. Make sure you select Connection Type = Standard (Socket Listen). If you select Standard (Socket Attach), I am not sure how to make that work. With (Socket Listen), you only have to select a port, and it must match up with the port specified in the java properties switch

-Xrunjdwp:transport=dt_socket,address=127.0.0.1:8000,suspend=y;

In this case it is 8000

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote: -----
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
From: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Date: 05/03/2017 02:49PM
Subject: RE: using RDI to debug RPG call to java


That looks like a goldmine, but it hasn't panned out for me yet. :p


For the debug configuration, I'm not clear on what the Project is supposed to be. I clicked the browse but only got a "Project Selection" dialogue with everything disabled except the Cancel button. Also, on Connection Properties I've got a Host that defaults to localhost.

RDi 9.5.1.2



-----Original Message-----
From: Keith McCully [mailto:keithmccully@xxxxxxxxx]
Sent: Tuesday, May 02, 2017 3:48 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: using RDI to debug RPG call to java

It can be done although not using the ILE debugger and not particularly straightforward.

See this wiki: https://wiki.midrange.com/index.php/Remote_Debug_of_Java_using_RDi

Good luck

Keith


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.