Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() Dynamically loaded programs HLASM Toolkit Feature Interactive Debug Facility User's Guide GC26-8709-07 |
|
The IDF DBREAK command provides a powerful deferred breakpoint facility to allow the simple debugging of programs that are dynamically loaded with standard system calls. See DBREAK for details. Attention: If your program is dynamically
loaded, and then deleted from storage, any existing breakpoints are
invalidated. Use the IDF DROP MODULE module-name command to
notify IDF that the module definition is no longer valid.
DROP MODULE removes all breakpoints that are currently defined for locations within this module. Any deferred breakpoints (from previous DBREAK commands) are reactivated in case this module is loaded into storage again, possibly at a different location. If your program is dynamically loaded in a manner that is not supported by DBREAK, such as having your own routine that loads and relocates an object module, you need an alternative solution. IDF must be able to gain control when your program starts executing.
Invoke IDF (you need to use the COMMAND option, as described in Programs requiring environmental setup), and press the RUN key. IDF issues the command you specified with the COMMAND option, and your program is dynamically loaded into memory. It then executes the invalid instruction (X'0000') that you inserted. IDF issues a message saying that either an operation exception has occurred, or that a breakpoint was reached. At this point:
You should now be able to continue debugging the program as usual. For information about source level support for dynamically loaded programs, see Source level support. ![]() ![]() ![]() |
![]() |