We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I want to reset code coverage in my application through debug commands or in AGSI Interface. Any debug command is available like PA reset for Coverage command. I know reset coverage by clicking in GUI, Code coverage tool and press Reset button. Thanks Nagendra
close! reset pa is the typed command. however, the screen doesn't update until you look away :)
One dirty method is to create a coverage file with the Coverage Save command. Run you program one time and save. This will initialize the file with your defined modules. Manually Reset the Code Coverage and again save the file. You now have a file with modules initialized and coverage reset. Write a simple function to execute a Coverage Load command each time that you wish to clear the code coverage. I don't if you can call these commands via AGSI but you can execute a user function call via AGSI. Don't try to load an empty text file. All you will get is the "Blue Screen of Death"