You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+37-16
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Debugger for Mainframe is supported on Visual Studio Code and Github Codespaces.
22
22
23
23
### Server
24
24
- InterTest for CICS and/or InterTest Batch, incremental release 11.0.07 or higher.
25
-
- Acquire and install PTFs LU08488, LU08046, LU06771, LU08177, and LU08307.
25
+
- Acquire and install PTFs LU08488, LU08046, LU06771, LU08177, LU08307, LU11016, LU13684, and LU14009.
26
26
- To connect to Debugger for Mainframe via the Zowe API Mediation Layer, acquire and install PTF LU11400 in addition to the PTFs above.
27
27
- Testing Tools Server
28
28
- To use Debugger for Mainframe to debug CICS programs, ensure that you complete the tasks in the sections "Activation of the IP CICS Sockets" and "Set Up an IRC Connection" on the linked page when you configure your Testing Tools Server instance.
@@ -191,7 +191,9 @@ To add a basic CICS configuration, do the following:
191
191
- Specifies the name of the debugging session.
192
192
-**"programName"**: (array)
193
193
- Specifies the name of the program that you want to debug using this configuration. To debug a program along with other programs called within it, specify all program names you want to debug in this field.
194
-
- Specify an array with either one value or multiple values separated by commas.
194
+
- To debug a program that is part of a composite module, use the format MODULE_PROGRAM. To debug all programs in a composite module, specify MODULE_.
195
+
-**Tip**: To see the list of all programs in a composite module, add the module to this field, and run the pallet command **List Composites**. The list of programs displays in the Output Panel.
196
+
- Specify an array with either one value or up to 30 values separated by commas.
195
197
-**"host"**: (string)
196
198
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
197
199
-**"port"**: (integer)
@@ -236,11 +238,12 @@ To add a basic configuration to debug a batch application, do the following:
236
238
- Specifies the name of the debugging session.
237
239
-**"programName"**: (array)
238
240
- Specifies the name of the program that you want to debug using this configuration. To debug a program along with other programs called within it, specify all program names you want to debug in this field.
239
-
- Specify an array with either one value or multiple values separated by commas.
241
+
- Specify an array with either one value or up to 30 values separated by commas.
240
242
-**"protsym"**: (array)
241
-
- Specify an array with any number of PROTSYM DSNs separated by commas. The newest PROTSYM which matches your executable is used for the debug session.
243
+
- Specify an array with up to 8 PROTSYM DSNs separated by commas. The newest PROTSYM which matches your executable is used for the debug session.
242
244
-**DSS**: (string)
243
245
- (Optional) Specify the PROTSYM which is designated to receive dynamic symbolic data from Endevor. For more information, see **[Dynamic Symbolic Support](#dynamic-symbolic-support)**.
246
+
-**Note**: The DSS PROTSYM counts towards the maximum of 8 PROTSYMs per configuration. If you specify this parameter, the maximum allowed number of PROTSYMs in the **"protsym"** array is reduced to 7.
244
247
-**"host"**: (string)
245
248
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
246
249
-**"port"**: (integer)
@@ -263,6 +266,9 @@ To add a basic configuration to debug a batch application, do the following:
263
266
- (Optional) Specify an array with any number of DSNs containing procedure libraries. Specify this field if your JCL requires a procedure library to be converted.
264
267
-**"convertedJCL"**: (string)
265
268
- Specifies the DSN and member name where you want to store your converted JCL. Specify the full name of a partitioned data set and a member in the format DSN(MEMBER). Debugger for Mainframe creates or overwrites this member when you convert the JCL.
269
+
-**"symbols"**: (JSON)
270
+
- (Optional) Specify values for any number of variables in the converted JCL. Use the format `"PARAM": "VALUE"` and separate each entry by commas within this JSON element.
271
+
- The value on the right side of each entry can use input variables. For more information, see the [VS Code documentation](https://code.visualstudio.com/docs/editor/variables-reference#_input-variables).
266
272
-**"interTestCharset"**: (string)
267
273
- (Optional) Specifies the Testing Tools Server Charset for Listings. Specify this field only if your Testing Tools Server instance is configured to use a client code page other than UTF-8.
268
274
-**"paragraphBreakpoints"**: (boolean)
@@ -298,11 +304,12 @@ To enable the Batch Link Queue you add a new configuration to your existing `lau
298
304
- Specifies the name of the debugging session.
299
305
-**"programName"**: (array)
300
306
- (Optional) Specifies the name of the program that you want to debug using this configuration. To debug a program along with other programs called within it, specify all program names you want to debug in this field.
301
-
- Specify an array with either one value or multiple values separated by commas.
307
+
- Specify an array with either one value or up to 30 values separated by commas.
302
308
-**"protsym"**: (array)
303
-
- (Optional) Specify an array with any number of PROTSYM DSNs separated by commas. The newest PROTSYM which matches your executable is used for the debug session.
309
+
- (Optional) Specify an array with up to 8 PROTSYM DSNs separated by commas. The newest PROTSYM which matches your executable is used for the debug session.
304
310
-**DSS**: (string)
305
311
- (Optional) Specify the PROTSYM which is designated to receive dynamic symbolic data from Endevor. For more information, see **[Dynamic Symbolic Support](#dynamic-symbolic-support)**.
312
+
-**Note**: The DSS PROTSYM counts towards the maximum of 8 PROTSYMs per configuration. If you specify this parameter, the maximum allowed number of PROTSYMs in the **"protsym"** array is reduced to 7.
306
313
-**"host"**: (string)
307
314
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
308
315
-**"port"**: (integer)
@@ -419,17 +426,22 @@ The entry is deleted.
419
426
420
427
Use the VS Code variables tree view to view and edit the value of variables during your debugging session. As well as the regular VS Code functionality, Debugger for Mainframe also enables you to edit the hexadecimal value of a variable.
421
428
422
-
#### Filter Variables
429
+
Variables in the tree view are sorted under the following categories:
430
+
431
+
***Global**
432
+
* Shows the last known value of all variables in the program.
433
+
***Local**
434
+
* (COBOL only) Shows the value of all variables on the currently selected line when the debugging session is paused.
435
+
***CICS Defined Variables**
436
+
* (COBOL only, CICS only) Shows the value of all variables defined in the CICS region where your debug session is running.
437
+
***General Purpose Registers**
438
+
* (Assembler only) Shows the content of all 16 General Purpose Registers.
423
439
424
-
To find a variable in the variables tree view, do the following:
425
-
1. Right-click anywhere in the variables tree or click the **...** button in the top-right corner.
426
-
2. Select **Filter Variable**
427
-
- A prompt opens
428
-
3. Enter the full name of the variable and press enter.
440
+
#### Filter Variables
429
441
430
-
Alternatively, you can right-click any variable in the code and select **Filter Variable**.
442
+
To find a variable in the variables tree view, click the **Filter** icon and type a search string in the text box at the top of the interface. The search returns all variables which contain the provided string. To clear an active filter, click the **Filter** icon.
431
443
432
-
To clear a variable filter, right-click anywhere in the variables tree and select **Clear Filter**.
444
+
The filter searches variable names under the **Global**and **CICS Defined Variables** headings only.
433
445
434
446
#### Edit the Hexadecimal Value of a Variable
435
447
@@ -441,6 +453,17 @@ To edit the hexadecimal value of a variable, do the following:
441
453
442
454
You can hover over a variable with an invalid format in the edit window to view the hexadecimal value.
443
455
456
+
### Inline Variables View
457
+
458
+
Enable inline variables view to see the values of all variables on the highlighted line of code inline.
To enable and disable inline variables view, use the following commands in the debug console:
463
+
464
+
*`/inline on`, `/inline off`
465
+
- Enables and disables inline variables view.
466
+
444
467
### Call Trace and Statement Trace
445
468
446
469
Debugger for Mainframe includes tracing features which send information about statements and programs to the left-hand sidebar of your IDE. There are two tracing features, call trace (for CICS programs only) and statement trace (for CICS and Batch programs).
@@ -544,8 +567,6 @@ To enable or disable the execution count feature during your debug session, use
544
567
545
568
The execution count variable is stored on the mainframe and is only reset when you perform an action which progresses the debugging session. It is not reset by the `/counts off` command or by closing Visual Studio Code.
546
569
547
-
**Note:** The execution count appears in column 80 of the editor window. Ensure that your IDE window is wide enough to see it.
548
-
549
570
## Set up Secure Connection
550
571
551
572
You can use Debugger for Mainframe over a secure connection if your Testing Tools Server instance is configured for a secure connection.
0 commit comments