Debug Tool commands supported in remote debug mode
You can use some Debug Tool commands
in remote debug mode
through the following methods:
- Enter these commands through the Debug Engine Command field or the Debug Console Commands window of the remote debugger.
- When you add a breakpoint through the remote debugger, specify
these commands in the Action field, which is
in the Optional Parameters section of the Add
a Breakpoint task. You must have one of the following
products to use this feature:
- IBM Problem Determination Tools Studio
- IBM Problem Determination Tools Plug-ins V13 Combined Packages
- Compiled Language Debugger component of Rational Developer for System z, Version 8.5.x or later
- Use them in a commands or preferences file.
Using any of these methods, you can use the following commands in remote debug mode:
- AT CHANGE command (remote debug mode)
- AT ENTRY command (remote debug mode)
- AT GLOBAL LABEL command (remote debug mode)
- AT LABEL command (remote debug mode)
- AT LABEL *, which is described in AT LABEL command (remote debug mode)
- AT LOAD command (remote debug mode)
- AT STATEMENT command (remote debug mode)
- CALL %FA command
- CALL %VER command
- CHKSTGV command
- CLEAR AT GLOBAL LABEL, which is described in CLEAR AT command (remote debug mode)
- CLEAR AT LABEL, which is described in CLEAR AT command (remote debug mode)
- CLEAR LDD, which is described in CLEAR command
- CLEAR LOAD, which is described in CLEAR command
- DESCRIBE CHANNEL, which is described in DESCRIBE command
- DESCRIBE CUS, which is described in DESCRIBE command
- DESCRIBE LOADMODS, which is described in DESCRIBE command
- DISABLE CADP, which is described in DISABLE command
- DISABLE DTCN, which is described in DISABLE command
- ENABLE CADP, which is described in ENABLE command
- ENABLE DTCN, which is described in ENABLE command
- LIST AT GLOBAL LABEL, which is described in LIST AT command (remote debug mode)
- LIST AT LABEL, which is described in LIST AT command (remote debug mode)
- LIST CADP, which is described in LIST DTCN or CADP command
- LIST CONTAINER command
- LIST DTCN, which is described in LIST DTCN or CADP command
- LIST LDD command
- LIST NAMES LABELS command (remote debug mode)
- LOAD command
- LOADDEBUGDATA command (for assembler only)
- NAMES DISPLAY command
- NAMES EXCLUDE command
- NAMES INCLUDE command
- QUERY ASSEMBLER, which is described in QUERY command
- QUERY AUTOMONITOR, which is described in QUERY command
- QUERY BROWSE MODE, which is described in QUERY command
- QUERY CURRENT VIEW, which is described in QUERY command
- QUERY DEFAULT DBG, which is described in QUERY command
- QUERY DEFAULT LISTINGS, which is described in QUERY command
- QUERY DEFAULT MDBG, which is described in QUERY command
- QUERY DEFAULT VIEW, which is described in QUERY command
- QUERY DISASSEMBLY, which is described in QUERY command
- QUERY DYNDEBUG, which is described in QUERY command
- QUERY EQAOPTS, which is described in QUERY command
- QUERY EXPLICITDEBUG, which is described in QUERY command
- QUERY IGNORELINK, which is described in QUERY command
- QUERY INTERCEPT, which is described in QUERY command
- QUERY LDD, which is described in QUERY command
- QUERY LIST BY SUBSCRIPT, which is described in QUERY command
- QUERY LOCATION, which is described in QUERY command
- QUERY LOG, which is described in QUERY command
- QUERY REWRITE, which is described in QUERY command
- QUERY WARNING, which is described in QUERY command
- QUIT command
- QUIT ABEND, which is described in QUIT command
- QUIT DEBUG, which is described in QUIT command
- QQUIT command
- SET ASSEMBLER ON/OFF command
- SET ASSEMBLER STEPOVER command
- SET AUTOMONITOR command
- SET DEFAULT DBG command
- SET DEFAULT LISTINGS command
- SET DEFAULT MDBG command
- SET DEFAULT VIEW command
- SET DISASSEMBLY command
- SET DYNDEBUG command
- SET EXPLICITDEBUG command
- SET IGNORELINK command
- SET INTERCEPT command (COBOL, remote debug mode)
- SET LDD command
- SET LIST BY SUBSCRIPT command (COBOL)
- SET LOG OFF, which is described in SET LOG command
- SET LOG ON, which is described in SET LOG command
- SET QUALIFY CU, which is described in SET QUALIFY command
- SET QUALIFY LOAD, which is described in SET QUALIFY command
- SET REWRITE command (remote debug mode)
- SET WARNING command (C, C++, COBOL, and PL/I)
You can use the following commands in remote debug mode only in
the Action field, which is in the Optional
Parameters section of the Add a Breakpoint task:
You can use the following commands in remote debug
mode in the Action field, which is in the Optional
Parameters section of the Add a Breakpoint task,
and in the Startup Commands section of RD/z Debug Configuration:
Through the Debug Engine Command field or
the Debug Console Commands window, you can
view a list of Debug Tool commands
supported in remote debug mode by doing one of the following tasks:
- Press CTRL+SPACE BAR.
- Type in the first few letters of a command name. Press CTRL+SPACE BAR. A list of Debug Tool commands that begin with those same letters is displayed.
To use this feature, you must use one of the following products:
- IBM Problem Determination Tools Studio
- IBM Problem Determination Tools Plug-ins V13 Combined Packages
- Compiled Language Debugger component of Rational Developer for System z, Version 8.5.x or later
Debug Tool supports Remote Playback through the Playback
Toolbar in the Debug View. To use this feature, you must use one of
the following products:
- PD Tools Studio (Eclipse 4.2)
- Compiled language debugger component of Rational® Developer for System z®, Version 9.0 or later version
You can display Debug Tool variables in remote debug mode. Debug Tool reserves variables for its own information. To distinguish Debug Tool variables from program variables, the names of Debug Tool variables begin with a percent sign. You can access Debug Tool variables when you test programs in supported languages. To display the value of a Debug Tool variable, add it as a monitor expression in the Monitor view. For more information about Debug Tool variables, see Debug Tool variables.
Example
If you want to know the value of the PSW when you debug an assembler program, add the following Debug Tool variable to the monitor view:
%PSW