wcf 断点 调试_断点未在WCF服务

我在同一解决方案中运行WCF服务和Winform客户端,并且都在解决方案属性中设置为启动项目。

在我的客户端应用程序中,我向WCF服务发送请求以变更用户凭据/权限。我为此在WCF服务中设置了一个断点,但奇怪的是,这个断点永远不会被命中。虽然,如果我从客户端代码尝试使用F11(因为两个项目都在同一个解决方案中),它会给我“No Source Available”错误。

以下是无源可用屏幕的源文件信息...

Locating source for 'c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs'. Checksum: MD5 {58 4e d2 46 37 96 c8 96 ae 5e 6b 8c ca f5 36 33}

The file 'c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs' does not exist.

Looking in script documents for 'c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs'...

Looking in the projects for 'c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs'.

The file was not found in a project.

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...

The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs.

The debugger could not locate the source file 'c:\BuildAgent\work\8689a06309d1ab0b\src\Castle.Core\DynamicProxy\Internal\CompositionInvocation.cs'.

从这个错误消息中,我可以看到它引用了一些c:\ BuildAgent \ work \ path但它是如何选择这个路径的。我的源代码根本不在这个位置。

有谁知道这里有什么问题?

提前致谢。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值