Commit 4c2116d
fix: Add breakpoint removal before final continue in hit count tests
Hit count breakpoints fire when the hit count reaches the specified value,
but don't disable after that. So continuing after hitting the breakpoint
would fire again on subsequent calls for recursive functions like factorial.
Added "breakpoint remove all" step before final continue to ensure the
program exits cleanly, consistent with other tests.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 4614f69 commit 4c2116d
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
0 commit comments