%PATHCODE values for C and C++

The table below shows the possible values for the z/OS® Debugger variable %PATHCODE when the current programming language is C and C++.

Value Description
–1 z/OS Debugger is not in control as the result of a path or attention situation.
0 Attention function (not ATTENTION condition).
1 A block has been entered.
2 A block is about to be exited.
3 Control has reached a user label.
4 Control is being transferred as a result of a function reference. The invoked routine's parameters, if any, have been prepared.
5 Control is returning from a function reference. Any return code contained in register 15 has not yet been stored.
6 Some logic contained by a conditional do/while, for, or while statement is about to be executed. This can be a single or Null statement and not a block statement.
7 The logic following an if(...) is about to be executed.
8 The logic following an else is about to be executed.
9 The logic following a case within an switch is about to be executed.
10 The logic following a default within a switch is about to be executed.
13 The logic following the end of a switch, do, while, if(...), or for is about to be executed.
17 A goto, break, continue, or return is about to be executed.

Values in the range 3–17 can only be assigned to %PATHCODE if your program was compiled with an option supporting path hooks.