The previous chapter showed how easy it is to set an unconditional breakpoint directly on your source listing. Just type u at the offset where you want the breakpoint.
To set a conditional breakpoint, begin by typing c to the left of the offset where you want the breakpoint, as shown next, and press Enter.
CA InterTest for CICS Release 9.1.00 - PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= ASMDEMO Option # 9 Stmt # Displacement= Margin= 01 Search= GETCOM ----------+-------------------------------------------------------------------- Loc Object Code Addr1 Addr2 Stmt Source Statement _ 000100 4980 B018 00018 1380 CH R8,EIBCALEN _ 000104 4740 218A 0018A 1381 BL GETCOM _ 000108 957D B01A 0001A 1382 CLI EIBAID,DFHENTER _ 00010C 4780 218E 0018E 1383 BE CONTINUE c 000110 47F0 2142 00142 1384 B SENDSCR1 _ 000114 0024 1386 TSQLEN DC H'36' _ 000116 0001 1387 TSQITEM DC H'1' _ 000118 1389 WRITETSQ DS 0H _ 000118 9240 D188 00188 1390 MVI TSSWITCH,C' ' 1392 * EXEC CICS WRITEQ TS 1393 * QUEUE(TSQNAME) 1394 * FROM(TSAREA) 1395 * LENGTH(TSQLEN) 1396 * MAIN 1397 DFHECALL =X'0A02E000080000 00011C 4110 D068 00068 A),(FB_2,TSQLEN) _ 000142 1412 SENDSCR1 DS 0H Active Usings: ASMDEMO,R2,R3,R4,R7 DFHEIBLK,R11 DFHEISTG,R13
CA InterTest for CICS then displays the menu on which you define the condition. For example, the following screen sets the conditional breakpoint at the offset you identified in the previous screen only if TSSWITCH is equal to 3. The entries are as follows:
LEFT SIDE of condition:
Data Name r13.tsswitch
OPERATOR: eq
RIGHT SIDE of condition:
Literal 3
CA-InterTest MONITORING COMMAND BUILDER - CONDITIONAL BREAKPOINT Enter LEFT SIDE of condition (select one): Data Name r13.tsswitch __________________________________________________ Special keywords: ______ Register # __ COBOL BLL # __ Enter OPERATOR (EQ, NE, GT, LT, GE, LE): eq Length: Left ___ Right __ Enter RIGHT SIDE of condition (select one): Data Name ________________________________________________________________ Special keywords: ______ Register # __ COBOL BLL # __ Literal 3_________________________________________________________________ Optional offset: Enter + - @ OR % followed by a value. Left side _________________________ Right side ________________________ _ ENTER S to Drop monitoring on a true condition For location: 000110 47F0 2142 00142 1384 B SENDSCR Use Help or documentation for use of special keywords PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12
To process the condition, press Enter. CA InterTest for CICS generates the command syntax for the conditional breakpoint, and returns you to the Source Listing screen.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|