I use a conditional breakpoint to determine when a variable is C# DateTimegreater than a certain time. This breakpoint will be checked approximately 50,000 times during the course.
my conditional breakpoint looks like this:
quote.Time > new DateTime(2014,2,4,3,59,0)
Without this conditional breakpoint, my test run takes about 15 seconds. A conditional breakpoint takes 45 minutes.
Is there anything I can do to speed this up without modifying the code I'm debugging to add a statement or conditional?
In any case, to calculate the DateTime variable only once? Or is it more of an architectural problem with how conditional breakpoints are implemented in the IDE?
source
share