Debugging Shared Containers

The process for debugging Shared Containers is the same as that for other jobs, but breakpoints are handled differently:

  • You cannot place a breakpoint on a link which has a container as its source stage.
    Shows an example job

    Instead, you should place the breakpoint on the same link as represented within the container view. The link will only be shown as having a breakpoint in the container view.

    Shows a breakpoint inside a shared container
  • If a breakpoint is set on a link inside a Shared Container, it will only become active (and visible) for the target job as shown on the debug bar.
    Shows the debug bar
    Note: The debug bar only shows open Server Jobs because a Shared Container cannot be run outside the context of a job.
  • If a different job uses the same shared container that is being debugged, then the breakpoint will not be visible or be hit in the other job. The example below shows a job called `Ex2' which uses the same shared container as the previous example called `Exercise 4.' The breakpoint will only be set for the target job which is Exercise 4.

    Shows a different job using the same shared container