到目前为止还没有到达断点 [英] the breakpoint is not reached so far

查看:79
本文介绍了到目前为止还没有到达断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在3层(DAL DataAccessLayer)中创建了一个解决方案应用程序WCF服务和智能设备应用程序



当我调试智能设备应用程序时(使用WCF应用程序)带有Web引用的服务)我在wcf服务方法中放了一个断点我看到一个包含黄色三角形的红色圆圈:



到目前为止还没达到断点没有为此文档加载任何符号。



我正在使用Visual Studio 2008.



所有项目的框架3.5。



有问题的解决方案,并提前谢谢。

解决方案

< blockquote>信息不足。从微型控制台开始Hello word!问题并学习如何调试它。



注意从模板创建的新项目会创建两个名为Release和i的 Configuration Debug,后者包含所有调试信息。查看每个配置的项目属性,看看它们有何不同。



(通常,调试是通过Debug配置完成的,但这只是一个部分您可以根据自己的喜好添加任意数量的不同配置,这通常是不需要的。技巧不在配置本身,而是在项目选项集中表示为单独的配置。这只是一个抽象级别,有不同的为了保持一致性,单个项目中的构建类型,对于多项目解决方案尤其重要。)



-SA

I created a solution in 3 layers (DAL DataAccessLayer) Application WCF services and smart device application

when I debug the smart device application (which consumes the WCF application services with a web reference) and I put a breakpoint in a wcf service method I see a red circle that contains a yellow triangle:

the breakpoint is not reached so far no symbols have been loaded for this document.

I''m using Visual Studio 2008.

Framework 3.5 for all projects.

is there a solution to the problem and thank you in advance.

解决方案

Not enough information. Start with tiny console-only "Hello word!" problem and learn how to debug it.

Pay attention that a new project created from a template creates two Configuration named "Release" and "Debug", the latter containing all the debug information. Look at the project properties for each Configuration to see how they differ.

(Usually, debugging is done with the "Debug" configuration, but this is nothing but a part of a template. You can add any number of different configurations to your liking, which is usually not needed. The trick is not in the configuration itself but in project option sets represented as a separate configuration. This is just an abstraction level to have different kinds of a build in a single project, especially important for a multi-project solutions, for consistency.)

—SA


这篇关于到目前为止还没有到达断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆