Re: STRDBG JAR

David Gibbs via JAVA400-L <[email protected]> Tue, 29 Nov 2022 15:44:35 -0600
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
On 11/29/22 2:05 PM, Pete Helgren wrote:
> I use remote debugging all the time when I run something in say, 
> Tomcat.  I have to set a JVM parameter (jdwp) to have the listening port 
> defined.  But what if the class in the jar is in is invoked via RPG? 
> There is a different method in debugging Java when invoked though an RPG 
> program, yes?  Don't know if the OP was running a standalone app or a 
> server application like Tomcat but debugging java called from RPG has 
> always been a challenge for me....

I think you can set the JAVA_OPTS environment variable with the debug 
cli options.

david

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

You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com