本文介绍了断点无法设置并已被禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在VC ++ 6.0项目中添加断点,然后我开始调试,则会显示此错误消息:

If I add a breakpoint in a VC++ 6.0 project and then I start debugging, it displays this error message:

,并显示反汇编窗口。这是什么问题?

and it shows the disassembly window. What kind of problem is this?

如何添加断点并开始调试?

How can I add a breakpoint and start the debugging?

推荐答案

我也遇到这样的问题,但代码用于工作正常,甚至比较所有的文件与另一个正在工作的实例。问题是路径中的前导和尾随空格的破折号。一旦我删除了尾随空格(例如 - dir变成-dir),那么它工作正常。尽管如果可能,您可能希望完全避免破折号。希望这有助于别人。

I also had a problem like this, but the code used to work fine and I even compared all the files with another instance that was working. The problem was a dash with leading and trailing spaces in the path. Once I removed the trailing space (e.g. " - dir" become " -dir") then it worked fine. Although you might want to avoid dashes altogether if possible. Hope this helps someone else.

这篇关于断点无法设置并已被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 00:06
查看更多