Error : cannot access target to evaluate expression

When stepping through some fairly complex code, I’m trying to look inside a bunch of structs, and I can see the pointers for them in their stack frame, but I keep getting “Error : cannot access target to evaluate expression” when I expand the thing to try and look at the values inside of the struct itself.

Any thoughts on what this error actually means, and perhaps a method to get rid of it? Thanks.

Did you debug the program vs. deploying it without the debugger attached? And can you see the list of tasks in the target window (indicating that it is currently connected)?