IBM Support

Is debug active? Here's a procedure that tells you

General Page

You are in: RPG Cafe > Is the debugger active?

Short URL:

RPG Cafe: Is the debugger active?

Is the debugger active?

If you want some code to run only when the job is being debugged, you can call this procedure to find out whether the debugger is active.


  1. Source for module INDEBUG: indebug.rpgle_.txt
  2. Source for copy file INDEBUG_PR: indebug_pr.rpgleinc.txt
  3. Source for test program INDEBUGTST: indebugtst.rpgle_.txt

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"Component":"ILE RPG Compiler","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 December 2019