Blueprint Debuggin sometimes variables dont show values in the debugger

Often when I am using breakpoints and stepping through blueprint code I cannot see the value of variables or inputs into nodes. Sometimes I can see the values and other times I cannot and I dont understand why.

Is there a way to see these values? Or a way to write code to make values easier to see? Are there rules as to what I can preview and what I cannot?

Here is a screen shot of a simple function that shows me NO values but only the types.

Debugging is definitely an area where UE4 has lots of room to improve. I’ve hate how you can’t debug macros – or even putting a breakpoint on a macro stops execution inside the macro rather than the function calling it. It’s just something you deal with – with a liberal use of PrintString. :slight_smile:

There is one thing to note: sometimes you need to click once anywhere in the graph before the variable values can be seen. It must not be the focus window at first, but clicking it usually works.

Another thing if you break execution, you can hover over the pins of nodes in different execution paths and see the values of their variables. Sometimes that comes in handy. Not pure functions, tho. They seem to display but I don’t think they’re being called so the values are wrong.

Yeah. When that happens to me, I left-click anywhere in the event graph window to make it the focus and suddenly hovering shows me the values.

I don’t know why you have a grey arrow over the return node. Mine is red. If making the window the main focus doesn’t help then you might want to figure out why that arrow is grey. It might have something to do with it.

The picture was after a break and I stepped into that function. I hover over that pin and all I see for the “value” is “Type Byte” same for the return value “Type Bool”. Saying “watch Value” doesn’t seem to do anything either