1
我嘗試附加到進程w3wp.exe來調試我的asmx網絡服務,添加斷點。但沒有任何提示(斷點不會被觸發,本文件沒有符號載入)。無法調試asmx網絡服務
我可以調試從asmx文件調用的項目中的代碼。
見ASMX文件:
<%@ WebService Language="vb" Codebehind="~/App_Code/MyWebService.asmx.vb" Class="MyWebService.MyWebService" Debug="true" %>
見的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>
我用Win 2008 R2,VS 2010 SP1中,IIS 7.5,.Net框架4 86。
有沒有人有想法我可以調試我的asmx文件?
感謝它的幫助。 – tbicr