views:

25

answers:

1

Hi there

I'm using linq2sql and .net 3.5 with vs2010. I'm experiencing bad sql performance when i run my program through vs2010, but not when i execute the same debug enabled exe outside vs. Whats going on here? Any ideas?

A: 

If the program is running ok outside visual studio then maybe the sql or linqtosql isn't the problem. If you run it through visual studio with the debugger disabled is the performance better?

ThanosPapathanasiou
Yes, much better! thank you.
fsl
@fsl maybe try disabling the new intellitrace that comes with vs2010 so that you'll have just the classic debugger, I think it will make the difference but will still enable you to debug easily.
ThanosPapathanasiou