Problem:
When we use the TESTCOVER directive in Mainframe Express we get the debugger started even though we had de-selected (unchecked) the 'Create Debug Information' option in the Build Settings.
How can this be turned off?
Resolution:
Test Coverage always uses an IDY file, so we will always pass the ANIM directive to the compiler to allow Test Coverage to run and produce its report output. So anytime the Test Cover option is set in the Mainframe Express gui settings or anytime the TESTCOVER directive is passed to the compiler, we will pass ANIM and create an .IDY file to be used when the user program is executed.
There is also a restriction mentioned in several places in the Online Help:
Manually changing the execution point while debugging a program
(using Skip to Cursor, for example) produces test coverage results
that are unpredictable.
So both the animation modules need to be present and one should not alter the execution flow of the user program with Test Coverage active (or if the TESTCOVER directive has been used).
#EnterpriseDeveloper
#MFDS




