dkdd
May 2nd, 2011, 18:14
Hey!
I have a question. I was able to import the KeeperFX project into Eclipse CDT and then clean/build. I can create both builds standard and debug. I can also run the project from eclipse. But the problem appears when i try to debug the project. I setup breakpoints (lets say in main.cpp) in 'int main' but when i run in debug mode the execution does not stop in breakpoints. (if i create a simple helloworld program i can debug it!). So what's the problem? Should i be using debug SDL libs? Or is there any other trick?
oh, one more thing. If i check the checkbox 'stop in main' (in debug run settings), the program halts on 'main' but it says it can not find source code for main.cpp. (file paths are correct...)
I have a question. I was able to import the KeeperFX project into Eclipse CDT and then clean/build. I can create both builds standard and debug. I can also run the project from eclipse. But the problem appears when i try to debug the project. I setup breakpoints (lets say in main.cpp) in 'int main' but when i run in debug mode the execution does not stop in breakpoints. (if i create a simple helloworld program i can debug it!). So what's the problem? Should i be using debug SDL libs? Or is there any other trick?
oh, one more thing. If i check the checkbox 'stop in main' (in debug run settings), the program halts on 'main' but it says it can not find source code for main.cpp. (file paths are correct...)