sponsored links

Collapse

Announcement

Collapse
No announcement yet.

Java Listening for RPGLE Callback

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Java Listening for RPGLE Callback

    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

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

sponsored links

Collapse

Working...
X