Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am preparing one utility for testing some of the application. I need some help in some part of it.
Suppose I have launched one debug build application. Then in between one assertion has come which was put by developer. So I have to do 2 tasks:
1) Get the content of that assertion
2) Click ignore or some how ignore the assertion.
After this initial application will resume.
I am not having the code with me. So modifying existing exe is out of question.
Posted
Updated 2-Feb-10 2:51am

Member 1544087 wrote:
testing some of ... the application ...
I am not having the code with me. So modifying existing exe is out of question.


I am inferring from this that you are acting as a tester identifying bugs for a developer to fix.

An assertion often indicates a serious error encountered in a program. Attempting to continue past one is likely to exhibit bad behavior from the program caused by the problem already identified, so is of doubtful usefulness. You will then be noting further program misbehavior from the same source you have already flagged. I would suggest instead that after documenting this for the developer (what you did to trigger the assert, what needs to be done to repeat it, and a screen shot of the message pasted into the document you are creating) that you start a new test run exercising other paths through the program. Come back and proceed past where the assertion was after the developer has provided a fix and you won't be banging you head against peculiar symptoms from the bug you have already turned up and characterized.
 
Share this answer
 
Your best bet IMO is to replace the ASSERT macro so that it works the way you want it to.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900