Why do conditional breakpoints slow my program down so much?

Posted by Bob on Stack Overflow See other posts from Stack Overflow or by Bob
Published on 2009-08-06T13:19:31Z Indexed on 2010/06/02 23:34 UTC
Read the original article Hit count: 262

Filed under:
|
|

When I'm debugging something that goes wrong inside a loop, say on the 600th iteration, it can be a pain to have to break for every one. So I tried setting a conditional breakpoint, to only break if I = 600. That works, but now it takes almost a full minute to reach that point, where before it was almost instantaneous. What's going on, and is there any way to fix it?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about debugging