Skip to content

SEP issue when the host QB5PHSRV job is terminated #37

@mkwan01

Description

@mkwan01

Here is the original user scenario:

  1. Use VSCode to do SEP debug
  2. Switch to RDi to run SEP debug
  3. Switch back to VSCode to do SEP debug

Detailed steps to for #1 (SEP Debug in VS Code):

  • Connect to the LPAR from VS Code.
  • Set the Service Entry Point (SEP) on the program testdbg.sqlrpgle.
  • Call the program from the 5250 session.
  • The debug session starts in VS Code. Allow the program to run.
  • Remove the SEP after the program has been executed.
  • Disconnect from the LPAR.

Detailed steps for #2 (SEP Debug in RDi):

  • Connect to the LPAR from RDi.
  • Set the Service Entry Point (SEP) on the same program testdbg.sqlrpgle.
  • Call the program from the same 5250 session.
  • The debug session starts in RDi. Allow the program to run.
  • Remove the SEP after the program has been executed.
  • Disconnect from the LPAR.

Once the above steps are completed in RDi, the user then repeats the same debugging steps in VS Code.

Expected Behavior:

The debug session should launch successfully and allow me to debug the program within VS Code, just as it works earlier.

Actual Behavior:
The debugger does not enter debug mode in VS Code.
Upon recompiling the program and attempting to refresh the SEP, it is reported as invalid and subsequently removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions