I've installed Sharepoint 2010 Foundation on my WS2008R2 copy... Whenever i lanch from Visual Studio some debug, the process couldn't attach to IIS and so every break point is skipped..
To male debugger work, i've gone to the folder
C:\inetpub\wwwroot\wss\VirtualDirectories\80
(The app I'm interested in is installed on the 80 port)
From that folder I change some parameters in the file web.config, as I found on the web:
<customErrors mode="Off" />
<compilation batch="false" debug="true" optimizeCompilations="true">
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
With this config no breakpoint is considered, even if i run it with "F5 || Start Debugging"...
I don't know if this is important, but i'm trying to debug some methods that are on a Web Service (installed in my ISS on a couple of ASMX files)
Thank you very much!