RDi job debugger

From MidrangeWiki
Jump to: navigation, search

The RDi interactive job debugger is a tool that is separate from the Service_Entry_Point debugger. The SEP debugger will only trigger when the program being debugged in entered. The job debugger steps into an already running job. IBM calls this 'Attach to running job'.

Attaching to the running job

There are at least two ways to attach to the job.

RSE

  1. In the RSE view, expand Jobs and either Active Jobs or My Jobs. A filter might help (right click Jobs, then choose New > Job filter...)
  2. After locating the job, Right click it, then choose Debug as... IBMi job
  3. The job immediately breaks and the debugger starts. This is the same debug screen as the Service_Entry_Point debugger

Debug Configuration

  1. Run > Debug Configurations...
  2. IBMi: Debug Job
  3. Right click and create a new configuration
  4. Under the 'What to Debug' tab, fill in the job name
  5. The job immediately breaks and the debugger starts. This is the same debug screen as the Service_Entry_Point debugger


This article is a stub. You can help by editing it.