Cannot see user-friendly view of Unreal Engine TArrays in the debugger

When trying to view the contents of a TArray in the debugger, it does not display in a readable format.

I am using Jetbrains Rider 2023.3.3 Build #RD-233.14015.60, built on January 19, 2024.

Below is a screenshot of how it displays for me, my settings related to NatVis and debugging, and the output of the LLDB Debugger when trying to view the TArray.

Retrieving summary of value named '$402'...
Trying visualizer for type 'TArray<*,*>'...
Evaluate '(bool)(ArrayNum == 0 && ArrayMax == 0)' in context of '$402' of type 'TArray<int,TSizedDefaultAllocator<32> >'
Error on evaluating the intrinsic '___GetElementPtr___1__' with expression '(/*intrinsic_inlined_start type:_GetData*/(TArray<$T1,$T2>::ElementType*)AllocatorInstance.Data/*_GetData intrinsic_inlined_end*/) + Index' on object 'TArray<int,TSizedDefaultAllocator<32> >'. Error: error: error: use of undeclared identifier 'TArray<$T1,$T2>::ElementType'
error: expected expression
No matching display string candidate found, fallback to default
Initial retrieving children of value named '$402' of type 'TArray<int,TSizedDefaultAllocator<32> >'...
Trying visualizer for type 'TArray<*,*>'...
Evaluate '(ArrayNum <= ArrayMax) ? ArrayNum : 0' in context of '$402' of type 'TArray<int,TSizedDefaultAllocator<32> >'
Error on evaluating the intrinsic '___GetElementPtr___1__' with expression '(/*intrinsic_inlined_start type:_GetData*/(TArray<$T1,$T2>::ElementType*)AllocatorInstance.Data/*_GetData intrinsic_inlined_end*/) + Index' on object 'TArray<int,TSizedDefaultAllocator<32> >'. Error: error: error: use of undeclared identifier 'TArray<$T1,$T2>::ElementType'
error: expected expression
Error occurred: error: error: use of undeclared identifier 'TArray<$T1,$T2>::ElementType'
error: expected expression
No child provider found for 'TArray<int,TSizedDefaultAllocator<32> >'
Retrieving summary of value named 'AllocatorInstance'...
Trying visualizer for type 'TSizedHeapAllocator<*,*>::ForAnyElementType'...
No user provided summary found, return default...
Initial retrieving children of value named 'AllocatorInstance' of type 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'...
Trying visualizer for type 'TSizedHeapAllocator<*,*>::ForAnyElementType'...
No child provider found for 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'
Retrieving summary of value named 'Data'...
Retrieving summary of value named '*Data'...
Retrieving summary of value named 'ArrayNum'...
Retrieving summary of value named 'ArrayMax'...
Retrieving children of value named '$402'...
Initial retrieving children of value named '$402' of type 'TArray<int,TSizedDefaultAllocator<32> >'...
Trying visualizer for type 'TArray<*,*>'...
Evaluate '(ArrayNum <= ArrayMax) ? ArrayNum : 0' in context of '$402' of type 'TArray<int,TSizedDefaultAllocator<32> >'
Error on evaluating the intrinsic '___GetElementPtr___1__' with expression '(/*intrinsic_inlined_start type:_GetData*/(TArray<$T1,$T2>::ElementType*)AllocatorInstance.Data/*_GetData intrinsic_inlined_end*/) + Index' on object 'TArray<int,TSizedDefaultAllocator<32> >'. Error: error: error: use of undeclared identifier 'TArray<$T1,$T2>::ElementType'
error: expected expression
Error occurred: error: error: use of undeclared identifier 'TArray<$T1,$T2>::ElementType'
error: expected expression
No child provider found for 'TArray<int,TSizedDefaultAllocator<32> >'
Retrieving summary of value named 'AllocatorInstance'...
Trying visualizer for type 'TSizedHeapAllocator<*,*>::ForAnyElementType'...
No user provided summary found, return default...
Initial retrieving children of value named 'AllocatorInstance' of type 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'...
Trying visualizer for type 'TSizedHeapAllocator<*,*>::ForAnyElementType'...
No child provider found for 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'
Retrieving summary of value named 'Data'...
Retrieving summary of value named '*Data'...
Retrieving summary of value named 'ArrayNum'...
Retrieving summary of value named 'ArrayMax'...
Retrieving children of value named 'AllocatorInstance'...
Initial retrieving children of value named 'AllocatorInstance' of type 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'...
Trying visualizer for type 'TSizedHeapAllocator<*,*>::ForAnyElementType'...
No child provider found for 'TSizedHeapAllocator<32,FMemory>::ForAnyElementType'
Retrieving summary of value named 'Data'...
Retrieving summary of value named '*Data'...
Retrieving children of value named 'Data'...
Retrieving children of value named '*Data'...
0

Please sign in to leave a comment.