diff --git a/build.bat b/build.bat index f663c185c..06bc6c823 100644 --- a/build.bat +++ b/build.bat @@ -58,7 +58,7 @@ set libs= ^ set linker_flags= -incremental:no -opt:ref -subsystem:console if %release_mode% EQU 0 ( rem Debug - set linker_flags=%linker_flags% -debug + set linker_flags=%linker_flags% -debug /NATVIS:src\odin_compiler.natvis ) else ( rem Release set linker_flags=%linker_flags% -debug ) diff --git a/src/odin_compiler.natvis b/src/odin_compiler.natvis new file mode 100644 index 000000000..845eaf1c0 --- /dev/null +++ b/src/odin_compiler.natvis @@ -0,0 +1,28 @@ + + + + {text,[len]s8} + text,[len]s8 + + + {{ size={count} capacity={capacity} }} + + + count + data + + + + + {{ size={count} }} + + + count + data + + + + + Procedure {name} + +