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.
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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.