How can I debug asp.net applications faster in Visual Studio 2010

I'm pretty disappointed in debugging, but maybe I'm just doing it wrong.

When I am actively developing, it is very difficult to write code, run the debugger to test the specified code, wait a minute for the debugger to start, look at the page in the browser, stop the debugger, edit the code, rinse, foam, repeat.

I can get around this using CTRL-F5 and CTRL-SHIFT-B during development, but I am losing all the benefits of the debugger.

Is there a better way to use a debugger or something else that I can do to quickly rebuild and use a debugger?

Thank,

Kyle

PS I / we write unit tests, but you also need to test your application in a browser, so please, "you should not have this problem if your unit tests were written correctly." comments;)

Update

Thanks for the offers "get the best car." Not much I can do. Download RAM and Intel SSD. I do not need more than $ 2500 to encode a web application.

+5
source share
5 answers

Debugging less: . If you cancel the debugger to change values ​​or test different scripts, then no. When debugging, you can change the values ​​of variables with QuickWatchor Immediate Window.

: , . , .

<compilation ... batch="false"> ...</compilation>
+5

( ):

/ ASP.NET http://blog.lavablast.com/post/2010/12/01/Slash-your-ASPNET-compileload-time.aspx

+4

SSD .

+3

, , , . , Debug. * .

@Kyle West - ... , . , , MS Enterprise ( ) . ( ) ( ), .config.

, , . ,

DebugEvent.Log(String.Format("the value of _myVariable is {0}", _myVariable))
InfoEvent.Log("Reached the entry to the gatesOfHell method")
ExceptionEvent.Log(ex)

EL - . , , .

(log4Net ..) Debug Trace , .

" , ". , , - . ( roosters, , ).

+2
source

Well, there are tools like Watin that let you interact with the script browser, but I don't think this is really what you want.

I think the answer here is: "Get a faster car" ...

0
source

All Articles