Debuging in Visual C++
-
I created a workspace by visual C++ 6.0. In this workspace, I added many project. One of them was MFC (exe) project and the others were MFC (dll) project. I want to debug a function in MFC (dll) project that was called in MFC (exe) project. I added a breakpoint at that function and stared debuging. But Error message is showed: "One or more breakpoints cannot be set and have been disabled. Execution will stop at the begining of program." How does I fix this problem?
-
I created a workspace by visual C++ 6.0. In this workspace, I added many project. One of them was MFC (exe) project and the others were MFC (dll) project. I want to debug a function in MFC (dll) project that was called in MFC (exe) project. I added a breakpoint at that function and stared debuging. But Error message is showed: "One or more breakpoints cannot be set and have been disabled. Execution will stop at the begining of program." How does I fix this problem?
Make sure that, the "Dll" workspace is the active project! In the Project Settings of the DLL workspace, Give the path of mfc(EXE) as the "Executable for debug session". Hope this will work SaRath.
"Do Next Thing..." My Blog | Understanding State Pattern in C++ -
Make sure that, the "Dll" workspace is the active project! In the Project Settings of the DLL workspace, Give the path of mfc(EXE) as the "Executable for debug session". Hope this will work SaRath.
"Do Next Thing..." My Blog | Understanding State Pattern in C++ -
Thanks for your guide. I have tried but it didn't run to dll code. Is there any configure?