Am am currently trying Eclipse with CDT for running CUDA applications. I am having problems running debug mode. Eclipse gives me the error:
No symbol “new” in current context
Stopped due to shared library event
[Thread debugging using libthread_db enabled]
I tried with and without the -deviceemu flag.
I manage to run normal GPU execution and get the corrent output. It would be nice though to be able to step inside code and look at values and so on. Is this possible or do I have to start using NetBeans as described in another post in the forum? And how can I set different make targets for release and debug? I have two targets in my makefile, but I don’t see how I can make Eclipse use the debug target (with -deviceemu) when running debugger. Any ideas?