Download

Debugging tmap and tsets

Hello everyone.
I apologize if it is a very stupid question, but how do you inspect the content of data-structures like tmap and tset during debugging?
I have some very simple maps with both key and value that are int32, but it is getting quite complex to understand what is going on…

You can add a breakpoint and copy the variable into the Watch List in Visual Studio? That will at least show you what data is currently in the TSet or TMap when you break.

Make sure you have the Unreal Debug Visualizers for Visual Studio installed, I think the installer does it by default, but you can find them under “Engine\Extras\VisualStudioDebugging” in the engine installation or source checkout folder.