ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Debug program in use that has been overwritten since it was invoked

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

  • Debug program in use that has been overwritten since it was invoked

    Hello,

    Say I have a job that's running a program and I then change that program and deploy, overwriting it.

    Is there a way to debug the job that's still running the old version? STRSRVJOB/STRDBG/F10 isn't breaking and I think it's because I'm doing *LIBL/Program but the program in the call stack of the job now has a blank library - I can't see any obvious options in STRDBG.

    I'm guessing it's not possible but thought it was worth an ask.

    Cheers,
    R

  • #2
    might try the graphical debugger in Access Client Solutions.
    just a thought not sure if it will work

    Comment


    • #3
      I believe the existing job will be using the program version that's now in QRPLOBJ.

      Comment


      • JonBoy
        JonBoy commented
        Editing a comment
        It will - but there may be more than one version in play.

      • RDKells
        RDKells commented
        Editing a comment
        Ok, so I should set library to QRPLOBJ?

    • #4
      I would think that you would also need to specify the program name - it will be something like: Q37BBA88A0...the original name is contained in the text field.

      Cheers,

      Emmanuel

      Comment


      • #5
        Right-o, I see. So look for most recent object with text containing the program name. Thanks!

        Comment

        Working...
        X