An end user wants to see how values x and y are being set in function1 and function2, and alsoneeds to know the value of
Posted: Fri Aug 26, 2022 9:58 am
An end user wants to see how values x and y are being set in function1 and function2, and alsoneeds to know the value of z before function3 is called. Given the following:1.MAIN2.3.DEFINE x, y, z SMALLINT4.LET z = 05.CALL function1() RETURNING x6.CALL function2() RETURNING y7.IF ( y > 0 ) THEN8.LET z = x / y9.CALL function3 (z) RETURNING z10.END IF11........12.END MAINUsing the Informix 4GL Debugger, which sequence of steps accomplishes this?
A. set a break point for line 6, execute a call function2, execute a step/step
B. set a break point for line 5, execute a call function1, execute a call function2, execute print z online 10
C. set a break point for line 5, execute a step into on lines 5 and 6; execute print z on line 9 priorto executing a step/step into/continue
D. set a break point for line 5, execute a step, print x, execute a step, print y, execute print z online 9 prior to executing a step/step into/continue
A. set a break point for line 6, execute a call function2, execute a step/step
B. set a break point for line 5, execute a call function1, execute a call function2, execute print z online 10
C. set a break point for line 5, execute a step into on lines 5 and 6; execute print z on line 9 priorto executing a step/step into/continue
D. set a break point for line 5, execute a step, print x, execute a step, print y, execute print z online 9 prior to executing a step/step into/continue