我正在尝试在Silverlight Webservice上调试一些东西。
它最初设置为与IIS一起工作,但是我认为在VS开发服务器上调试会更容易,所以我切换到了。
调试silverlight部分工作正常,但是当我在webservice(.csv.cs)中放置一个断点时,它不会受到攻击,提出:
断点当前不会被击中。没有加载任何符号 对于本文件
我试过了:
在解决方案的“多个启动项目”设置中,Silverlight应用程序的操作为“无”,Web服务的操作为“开始”。
在配置中,两者都配置为在任何CPU上进行“调试”并选中“Build”。
构建输出:
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\WebDev.WebHost40\v4.0_10.0.0.0__b03f5f7f11d50a3a\WebDev.WebHost40.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Symbols loaded.
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\mscorlib.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Windows.RuntimeHost.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Windows.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Net.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Core.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Xml.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Runtime.Serialization.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.Windows.Browser.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.ServiceModel.Web.dll'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\en-US\System.debug.resources.dll'
'iexplore.exe' (Silverlight): Loaded 'BAE', Symbols loaded.
'iexplore.exe' (Silverlight): Loaded 'InfragisticsSL5.Controls.Charts.XamDataChart.v14.1'
'iexplore.exe' (Silverlight): Loaded 'InfragisticsSL5.Controls.Editors.XamColorPicker.v14.1'
'iexplore.exe' (Silverlight): Loaded 'InfragisticsSL5.Controls.Editors.XamSlider.v14.1'
'iexplore.exe' (Silverlight): Loaded 'InfragisticsSL5.DataVisualization.v14.1'
'iexplore.exe' (Silverlight): Loaded 'InfragisticsSL5.v14.1'
'iexplore.exe' (Silverlight): Loaded 'System.ComponentModel.DataAnnotations'
'iexplore.exe' (Silverlight): Loaded 'System.ServiceModel.DomainServices.Client'
'iexplore.exe' (Silverlight): Loaded 'System.ServiceModel.DomainServices.Client.Web'
'iexplore.exe' (Silverlight): Loaded 'System.ServiceModel.Web.Extensions'
'iexplore.exe' (Silverlight): Loaded 'System.Windows.Controls'
'iexplore.exe' (Silverlight): Loaded 'System.Windows.Controls.Input'
'iexplore.exe' (Silverlight): Loaded 'System.Windows.Controls.Toolkit'
'iexplore.exe' (Silverlight): Loaded 'System.Xml.Linq'
'iexplore.exe' (Silverlight): Loaded 'System.ComponentModel.Composition'
'iexplore.exe' (Silverlight): Loaded 'System.ComponentModel.Composition.Initialization'
'iexplore.exe' (Silverlight): Loaded 'System.Windows.Data'
'iexplore.exe' (Silverlight): Loaded 'System.Windows.Controls.Toolkit.Internals'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\System.ServiceModel.dll'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'iexplore.exe' (Silverlight): Loaded 'BindingDebugging'
'iexplore.exe' (Silverlight): Loaded 'C:\Program Files (x86)\Microsoft Silverlight\5.1.40416.0\en-US\System.Windows.debug.resources.dll'
A first chance exception of type 'System.Net.WebException' occurred in System.Windows.dll
A first chance exception of type 'System.Net.WebException' occurred in System.Windows.dll
A first chance exception of type 'System.Net.WebException' occurred in System.Windows.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
A first chance exception of type 'System.Net.WebException' occurred in System.Windows.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll
The thread '<No Name>' (0x20f0) has exited with code 0 (0x0).
The thread '<No Name>' (0x1154) has exited with code 0 (0x0).
The thread '<No Name>' (0x1b58) has exited with code 0 (0x0).
The thread '<No Name>' (0x1ea4) has exited with code 0 (0x0).
The thread '<No Name>' (0x1fc0) has exited with code 0 (0x0).
The thread '<No Name>' (0x23f8) has exited with code 0 (0x0).
有关下一步尝试的提示吗?感谢