0

Assertion stop by application

Hi I don't know why my previous post got deleted. So reposting same again I have a large code and it shows lot of assertions... I want to develop something which automatically click on the assertions.. Any thoughts on this plz .

21st May 2022, 4:48 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Respostas
0
It's hard to say anything without seeing your code.
23rd May 2022, 4:39 PM
Ulysses Apokin
Ulysses Apokin - avatar
0
It's a huge code base and can't share it here as well due to copy rights restrictions. However, I can provide you hint for better understanding: void analyze(char *string, int length) { assert(string != NULL); /* cannot be NULL */ assert(*string != '\0'); /* cannot be empty */ assert(length > 0); /* must be positive */ } Assume above function is my application which generates assert calls when executing the exe having above code.... What I need to develop is something which remains active in background as external application , wake up and click on notification popped up by assert from previous application Hope it is bit more clear.
23rd May 2022, 7:00 PM
Ketan Lalcheta
Ketan Lalcheta - avatar