我的插件不会在Breakpoints上停止

时间:2012-04-18 00:51:42

标签: vb.net breakpoints

我正在看到我正在开发的Readsoft插件的奇怪行为。

我希望它在断点处停止,但事实并非如此。在我放置断点的地方之前的msgbox正确显示,并且正好在它之后显示。

我需要你的帮助,因为我对这个问题没有任何线索。

感谢您的帮助!

here is the class with the breakpoint I want to stop to

here is the ReadSoft programm with the Msgbox displayed after the breakpoint line where debug didn't stop

PS:我正在使用Visual Studio 2010 Professional,用VB.NET编码

3 个答案:

答案 0 :(得分:0)

每当我遇到这个问题时,我通常可以通过选择Build>来清除它。清洁解决方案,然后构建>重建解决方案。我认为这是因为调试符号与代码不同步。

如果这不起作用,我将确保我处于调试模式(发布模式启用可以偶尔进行更改的优化,因此您无法在所需的行上设置断点)并且我将清除所有断点 - Debug>删除所有断点,然后再次设置断点。

答案 1 :(得分:0)

当我启动我的应用程序时,它会自动启动ReadSoft程序,它将在此

上运行

here is the properties file that launch the ReadSoft programm it is going to run into

答案 2 :(得分:0)

我终于可以找到答案并认为它可以提供帮助。

所以我的问题来自于我在Visual Studio 2010下运行我的项目,但这个项目最初是在Visual Studio 2005上创建的,并且在.NET framework 2上运行。

简单地将框架更改为框架4已经解决了我的问题。

希望这个帮助