blah blah blah is here! blah blah » Close

up0down
link

If I run my application under VS debugger, the run is significant slower (seconds against tens of seconds under debuger if data reading).
The performance was better under DbgCLR, but has got worse recently.
Have you noticed similar behavoir? What can I do for speed up debugging?
Thanks

last answered 8 months ago

1 answers

up0down
link

So guys, one made it yourself solution. Maybe, someone will correct me.
It seams, that slow performance is caused by breakpoints with condition set. Disable these breakpoints and the performance will get better.

up0down
link

That would make sense. The compiler would be looking for the condition to activate the breakboint and thus taking up processing time.
My best advice would be to set minimal breakpoints and skip through the code once a breakpoint is activated.

up0down
link

whats a debugger?
you mean your code doesnt run right the first time around and you have to walk through it line by line??? I'm like mozart, I write the symphony as I hear it and it turns out perfect every time (hehe ::wink::wink::nod::nod::saynomore::saynomore::)

up0down
link

One way could be using stack trace to get the position where a break point can be implemented. This will definately save the time spent in exceutin unnecessary break points.

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback