I was using gcc 4.8, which caused problems. Now I downgraded to gcc 4.6 and it solved problem.
Robert Crovella, thanks for your effort.
Question
I'm using nsight eclipse edition, and I cant figure out how to view variables values in debug mode for now (meaning usual variables in host memory, debugging usual c++ code so far). "Variables" tab does not contain anything useful for me (nothing I can use now at least), and Memory tab, which should be able to display variables by their addresses and also monitor expressions does not work for me either.
Any suggestions?
Solution 2
I was using gcc 4.8, which caused problems. Now I downgraded to gcc 4.6 and it solved problem.
Robert Crovella, thanks for your effort.
OTHER TIPS
The following steps seemed to work for me:
idata
variable, select the triangle to expand the sub-menu. The submenu is populated with the values of idata
at each index. The data will be garbage, as it has not been initialized yet.idata
variable in the "Variables" pane, we see that the values have been changed (initialized) to 0, 1, 2, ... etc.If you attempt to debug a project for which you have built the "Release" configuration instead of "Debug" configuration, you will have a variety of issues, and will get a message "no source available" and there will be no variables displayed in the "Variables" pane.