File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,10 @@ set(NABLA_SRCS_COMMON
314
314
${NBL_UI_SOURCES}
315
315
)
316
316
317
+ if (MSVC AND NBL_BUILD_TOOLS )
318
+ list (APPEND NABLA_SRCS_COMMON "${PROJECT_SOURCE_DIR} /tools/debug/VisualStudio/DynamicArrayVisualizer.natvis" )
319
+ endif ()
320
+
317
321
if (NBL_EMBED_BUILTIN_RESOURCES )
318
322
list (APPEND NABLA_SRCS_COMMON "${CMAKE_BINARY_DIR} /src/nbl/builtin/builtinResourceData.cpp" )
319
323
endif ()
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <AutoVisualizer xmlns =" http://schemas.microsoft.com/vstudio/debugger/natvis/2010" >
3
+
4
+ <Type Name =" nbl::core::refctd_dynamic_array< *> " >
5
+ <DisplayString >size={item_count} elementType={"$T1"}</DisplayString >
6
+ <Expand >
7
+ <Item Name =" size" >item_count</Item >
8
+ <ArrayItems >
9
+ <Size >item_count</Size >
10
+ <ValuePointer >reinterpret_cast< $T1*> (this)+dummy_item_count</ValuePointer >
11
+ </ArrayItems >
12
+ </Expand >
13
+ </Type >
14
+ </AutoVisualizer >
You can’t perform that action at this time.
0 commit comments