我在程序中设了一个断点,可是运行之后,出现了一个对话框,
内容如下:
one or more breakpoints cannot be set and have been disabled.
Execution will stop at the beginning of the program之后,断点就不好使了。这是为什么哪?
有什么办法可以解决!!!!!!
内容如下:
one or more breakpoints cannot be set and have been disabled.
Execution will stop at the beginning of the program之后,断点就不好使了。这是为什么哪?
有什么办法可以解决!!!!!!
int i=GetLastError();
把断点加在这句上面
1、看你是否在Debug模式下。
2、要么你有两个工程加载在一个工作区中,其中一个工程1使用另外一个工程2(编译后成为了DLL)的接口。这时你在工程2设置的断点无效。但是如果你启动程序之后再设置断点,就有效了。