Purpose:
I am trying to re-write the C based Sample Debugger (refer link below) into a Java Program Running in Eclipse.
Research:
IBM Knowledge Center - Example Using source debugger APIs
Request:
How would I go about register a Java program running in eclipse as the "Program Stop Handler" (aka Break Point Listener)?
Is it even possible? I was thinking of registering a RPGLE pgm as the "Program Stop Handler" which will then call the Java pgm.
I am trying to re-write the C based Sample Debugger (refer link below) into a Java Program Running in Eclipse.
Research:
IBM Knowledge Center - Example Using source debugger APIs
Besides APIs, there are two user exits that get called:
- The Source Debug program gets called when the Start Debug (STRDBG), Display Module Source (DSPMODSRC), and End Debug (ENDDBG) CL commands are entered.
- The Program Stop Handler gets called when an ILE program being debugged hits a breakpoint, step, and so on.
How would I go about register a Java program running in eclipse as the "Program Stop Handler" (aka Break Point Listener)?
Is it even possible? I was thinking of registering a RPGLE pgm as the "Program Stop Handler" which will then call the Java pgm.