Cannot see any variable values while debugging
<p>I am using Nsight on Ubuntu 16.04. My current set up allows me to compile and run my code perfectly fine through the nsight IDE. After making sure the program was building in debug mode (wasn't originally), it finally allowed me step through my code. </p>

<p>The problem I am having is whenever I try to debug my code, all the variables say "not available". Also, if I hover my mouse over the variable it was saying something like "-var-create: unable to create variable object". This made it seem like maybe it was the compiler? Maybe it is not adding something it was supposed to do?</p>

<p>Nsight version is 7.5,
GCC &amp; G++ version 5.3.1,
GDB version 7.11,
NVCC version 7.5.17.</p>