|
It *is* possible to step into Java from RPG, just not supported (AFIAK). Check out the message from Barbara Morris in the following thread:If I understand you correctly you ensure that java classes are compiled to MI instead of allowing the JIT to compile on the fly, plus do some trickery to get the JVM loaded in the first place.
http://tinyurl.com/65tev2
Here's what I've noted (not sure exactly how true it is, but it's what worked for me)
a) Java code has to be compiled with -g to have debugging symbols.
b) Java code has to be run through CRTJVAPGM
c) the Java code has to already be loaded into the JVM. That means you can't step into the first method you call, you have to wait til the second call when the JVM is already started, and the class is already loaded.
d) It doesn't work from the same job. You have to STRSRVJOB/STRDBG if working from the green screen. From GUI it shouldn't matter, since you're automatically in a separate job :)
Anyway... it's tricky, and unsupported but possible...
As an Amazon Associate we earn from qualifying purchases.
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.