Set the full path of debug! Maybe u attempts to set breakpoints in a DLL before the call to LoadLibrary!::: (from msdn) The reason you are getting the dialog box is... You have tried to set break point in a DLL that is not included in the Additional DLL under the Debug option for your project setings. The debug info is obtained from PDB file. Bydefault, IDE only knows about the PDB of your current project. Incase you are trying to set the break point in a DLL that is other than the active one, you have to specify this exclusively in Additionl DLL combo box. Therefore add the DLL name there with full path name. Or you can make that project as active one and provide the EXE for debugging the one you are trying to run. The program won't stop at the start of program, infact it will act like that a break point has been set right at the start of the program. IF you got the following error message box, there is nothing to worry about. Just include the DLL in Addition DLL under Debug option.--------------------------- Microsoft Visual C++ --------------------------- One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program. ---------------------------
Maybe u attempts to set breakpoints in a DLL before the call to LoadLibrary!:::
(from msdn)
The reason you are getting the dialog box is...
You have tried to set break point in a DLL that is not included in the Additional DLL under the Debug option for your project setings. The debug info is obtained from PDB file. Bydefault, IDE only knows about the PDB of your current project. Incase you are trying to set the break point in a DLL that is other than the active one, you have to specify this exclusively in Additionl DLL combo box. Therefore add the DLL name there with full path name. Or you can make that project as active one and provide the EXE for debugging the one you are trying to run.
The program won't stop at the start of program, infact it will act like that a break point has been set right at the start of the program.
IF you got the following error message box, there is nothing to worry about. Just include the DLL in Addition DLL under Debug option.---------------------------
Microsoft Visual C++
---------------------------
One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program.
---------------------------
我自己写的dll就可以这样调试啊。那位高手就命啊!
若调试程序下有这个DLL文件,先把它删除。祝你成功。
记得到:http://www.anycities.com/user1/3jj/ 看一看,很多好东西哟。
有些工具在nt,2000下可以,但在win98下又不行
_asm{ int 3 };
线断下再说