Skip to content

Commit 58f8c49

Browse files
authored
Merge pull request #26 from BroadcomMFD/1.11.0
1.11.0
2 parents 480f6dc + e299623 commit 58f8c49

File tree

2 files changed

+55
-16
lines changed

2 files changed

+55
-16
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to the Debugger for Mainframe extension are documented in this file.
44

5+
## [1.11.0] 2024-08-27
6+
7+
#### Added
8+
- Inline variables view
9+
- Support for dynamic debugging sessions for batch programs
10+
- Composite debugging, includes 'List composites' command in command palette
11+
- Autokeep variables (COBOL only), represented in Local variables group
12+
- CICS Defined Variables (COBOL only)
13+
14+
#### Changed
15+
- InterTest PTFs LU13684 and LU14009 added to prerequisites
16+
- Variables tree organised into Global, Local, CICS-Defined and Assembly General Purpose groups.
17+
- Execution counts displayed left from source
18+
- Readme update
19+
20+
#### Fixed
21+
- Miscellaneous bug fixes
22+
523
## [1.10.0] 2024-05-02
624

725
#### Added

README.md

+37-16
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Debugger for Mainframe is supported on Visual Studio Code and Github Codespaces.
2222

2323
### Server
2424
- 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.
2626
- To connect to Debugger for Mainframe via the Zowe API Mediation Layer, acquire and install PTF LU11400 in addition to the PTFs above.
2727
- Testing Tools Server
2828
- 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:
191191
- Specifies the name of the debugging session.
192192
- **"programName"**: (array)
193193
- 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.
195197
- **"host"**: (string)
196198
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
197199
- **"port"**: (integer)
@@ -236,11 +238,12 @@ To add a basic configuration to debug a batch application, do the following:
236238
- Specifies the name of the debugging session.
237239
- **"programName"**: (array)
238240
- 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.
240242
- **"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.
242244
- **DSS**: (string)
243245
- (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.
244247
- **"host"**: (string)
245248
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
246249
- **"port"**: (integer)
@@ -263,6 +266,9 @@ To add a basic configuration to debug a batch application, do the following:
263266
- (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.
264267
- **"convertedJCL"**: (string)
265268
- 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).
266272
- **"interTestCharset"**: (string)
267273
- (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.
268274
- **"paragraphBreakpoints"**: (boolean)
@@ -298,11 +304,12 @@ To enable the Batch Link Queue you add a new configuration to your existing `lau
298304
- Specifies the name of the debugging session.
299305
- **"programName"**: (array)
300306
- (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.
302308
- **"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.
304310
- **DSS**: (string)
305311
- (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.
306313
- **"host"**: (string)
307314
- Specifies the host address of your Testing Tools Server instance or Zowe API Mediation Layer Gateway.
308315
- **"port"**: (integer)
@@ -419,17 +426,22 @@ The entry is deleted.
419426

420427
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.
421428

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.
423439

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
429441

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.
431443

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.
433445

434446
#### Edit the Hexadecimal Value of a Variable
435447

@@ -441,6 +453,17 @@ To edit the hexadecimal value of a variable, do the following:
441453

442454
You can hover over a variable with an invalid format in the edit window to view the hexadecimal value.
443455

456+
### Inline Variables View
457+
458+
Enable inline variables view to see the values of all variables on the highlighted line of code inline.
459+
460+
![](https://raw.githubusercontent.com/BroadcomMFD/debugger-for-mainframe/master/inlinevars.png)
461+
462+
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+
444467
### Call Trace and Statement Trace
445468

446469
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
544567

545568
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.
546569

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-
549570
## Set up Secure Connection
550571

551572
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

Comments
 (0)