I want to stop execution when the loop has been executed n times. I do not want to use a conditional breakpoint using the loop-counter value, because the initial value of the loop counter differs at different run times.
You need to use the command ignore. Set a breakpoint at an appropriate place in your loop, and then use ignoreto specify how many times to ignore the breakpoint.
ignore
Syntax according to help ignore:
help ignore
- N COUNT. - N COUNT".