How to properly debug web applications on local IIS 7.5 using VS 2010 Beta2?

I’m kind of new to developing Asp.net web application projects when they run on local IIS. So far, I have used the option "Use Visual Studio Development Server". I am using Visual Studio 2010 Beta 2.

Edit: less complicated code example

The following code example:

List<string> _list = new List<string>(); _list.Add("asd"); _list.Add("asd2"); _list.Add("asd3"); 

Now I want to debug / go through some line of codes using _list .
When using "Use Visual Studio Development Server", I can see the contents of _list in the fast hours.
If I select "Use local IIS web server" and debug using the same code snippet, quickwatch will try to display me the same values, showing me a spinning wheel for about 10 seconds with the result of " Function evalutation disabeld, because the previous function evalution is out of order, you must continue to reuse the evalution function .

Subsequently, I get a dialog box with the error " Unhandeld win32 in w3wp.exe [844] The Just-In Time debugger was started without the necessary security permission ..

I am running Visual Studio 2010 Beta 2 as an administrator. I start debugging by pressing F5. I can't seem to debug this way. Should I somehow attach the VS debuggerto to the IIS process? If so, how to do it?

What am I doing wrong and how to solve it?

And by the way, is this the erroneous behavior of the new in VS 2010? I have never been expierencied that in VS 2008.

+6
debugging c #
source share
2 answers

I have found a solution. After enabling Windows authentication for my site in IIS, this worked. Hope this helps anyone in the future.

+2
source share

Unanswered debugging is a feature that launches the Visual Studio debugger automatically when a program running outside of Visual Studio encounters a fatal error.

  • One hand is an indication that your process is crashing due to some error.

Try disabling JIT Debugger . I did not use VS 2010 RC, but the process in VS2008 is as follows.

Tools -> Options -> Debugging -> Time Only , and then uncheck just during the check. Click OK.


Hope this helps

+3
source share

All Articles