System Debugging
...Previous
Now again select Goto à
Attributes
From the above screenshot, it is understood that the
program status is ‘S’ (System program). In order to debug the system
program, we need to set the system debugging ON. Now repeat the above debugging
by setting system debugging ON. This time, we should be able to debug the
function module.
Can we set the custom programs as system programs?
Go to our program which has a call to the function module
ICON_SHOW. Set the debug point at the CALL FUNCTION statement.
Go to program attributes and set the status to System
Program.
Now try debugging the program with system debugging off.
This time, the debug point will not even reach the CALL FUNCTION statement. Once
you turn the system debugging ON, both our program and the standard function
module could be debugged.
|