I try attach to procees w3wp.exe to debug my asmx web service, add breakpoints. But nothing heppends (The breakpoint will not currently be hit. No symbols have been loaded for this document).
I can debug code that call from asmx file in othes projects.
See asmx file:
<%@ WebService Language="vb" Codebehind="~/App_Code/MyWebService.asmx.vb" Class="MyWebService.MyWebService" Debug="true" %>
See Web.config:
<compilation defaultLanguage="vb" debug="true" targetFramework="4.0">
<compilers>
<compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".VB" compilerOptions="/optimize+ /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Web,System.Web.Services"/>
</compilers>
</compilation>
I use win 2008 R2, VS 2010 SP1, IIS 7.5, .Net Framework 4 x86.
Is anybody has ideas how I can debug my asmx file?