Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
DWrightson Absent Member.
Absent Member.
1007 views

Interpreting a Screen Trace

Hello, while researching a MAV that our application was having, I used a screen trace while running the program in hope that it might point me in the right direction. I've since fixed the MAV, but was wondering how to reconcile the screen trace with the screen designed in acubench. For example one line that was output into the screen trace was "!!!modify control 1070, property 4097 failed". How do I identify control 1070 in my screen section?

Thanks

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

RE: Interpreting a Screen Trace

The numbers correspond to the controls in your screen section. Take a look at a sample program like push-btn.cbl, a screen trace will show:

C:\Program Files (x86)\Micro Focus\Acucbl912\AcuGT\sample\acubench\object\Push-Btn.acu loaded

screen section display

create control type 3, handle = 776

create control type 1, handle = 777

create control type 3, handle = 778

create control type 1, handle = 779

create control type 1, handle = 780

create control type 1, handle = 781

create control type 9, handle = 782

create control type 3, handle = 783

In the screen section there are 8 controls:

01 Screen-1.

          03 DefaultStyle-PB, Push-Button,

             COL 4.20, LINE 4.00, LINES 2.40 CELLS, SIZE 7.20 CELLS,

             PERMANENT, EXCEPTION-VALUE 1, FONT IS Large-Font,

             ID IS 2,

             TITLE "OK".

          03 DefaultStyleLabel, Label,

             COL 14.60, LINE 4.30, LINES 2.60 CELLS, SIZE 16.10 CELLS,

             PERMANENT, FONT IS Default-Font, ID IS 1, LABEL-OFFSET 0,

             TITLE

             "Default style push button with a return code set to '1'.

     -       "                                           ".

          03 Bitmap-PB, Push-Button,

             COL 4.20, LINE 10.00, LINES 40, SIZE 65,

             BITMAP-HANDLE bmpbtn-bmp, BITMAP-NUMBER 1, FRAMED,

             PERMANENT, EXCEPTION-VALUE 2, FONT IS Default-Font,

             ID IS 3.

          03 BitmapPB-Label-1, Label,

             COL 14.60, LINE 10.30, LINES 2.60 CELLS,

             SIZE 16.10 CELLS,

             PERMANENT, FONT IS Default-Font, ID IS 4, LABEL-OFFSET 0,

             TITLE

             "Icon style push button with a return code set to '2'.    

     -       "                                           ".

          03 BitmapPB-Label-2, Label,

             COL 14.60, LINE 14.80, LINES 6.50 CELLS,

             SIZE 16.10 CELLS,

             PERMANENT, FONT IS Default-Font, ID IS 5, LABEL-OFFSET 0,

             TITLE

             "This push button consists of one bitmap.  The runtime man

     -       "ages the pressed down, and elevated look.                

     -       "                                                        

     -       "                             ".

          03 ReturnCode-Label, Label,

             COL 4.20, LINE 23.80, LINES 1.30 CELLS, SIZE 12.60 CELLS,

             PERMANENT, FONT IS Default-Font, ID IS 6, LABEL-OFFSET 0,

             TITLE "Current return code = ".

          03 ReturnCode-Frame, Frame,

             COL 18.60, LINE 22.70, LINES 3.30 CELLS, SIZE 3.90 CELLS,

             PERMANENT, FILL-COLOR 16, FILL-PERCENT 100,

             FONT IS Default-Font, ID IS 7, TITLE Current-Return-Code,

             TITLE-POSITION 7, BACKGROUND-LOW.

          03 Exit-PB, Push-Button,

             COL 14.20, LINE 31.00, LINES 2.40 CELLS, SIZE 9.60 CELLS,

             PERMANENT, FONT IS Large-Font, ID IS 8, CANCEL-BUTTON,

             TITLE "E&xit".

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.