Skip to content

Instantly share code, notes, and snippets.

@JacquesLucke
Created October 6, 2020 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JacquesLucke/7b336ff9ee3c5ff447e0dfb378c35de1 to your computer and use it in GitHub Desktop.
Save JacquesLucke/7b336ff9ee3c5ff447e0dfb378c35de1 to your computer and use it in GitHub Desktop.
Testing natvis files
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="blender::StringRef">
<DisplayString>{data_}</DisplayString>
<Expand>
<Item Name="[size]">size_</Item>
<Item Name="[data]">data_</Item>
</Expand>
</Type>
</AutoVisualizer>
{
"name": "Debug Blender",
"type": "cppdbg",
"request": "launch",
"program": "/home/jacques/blender-git/build_linux/bin/blender",
"args": [
"--debug"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
// {
// "description": "Enable pretty-printing for gdb",
// "text": "-enable-pretty-printing",
// "ignoreFailures": true
// }
],
"preLaunchTask": "Compile Blender",
"visualizerFile": "/home/jacques/blender-git/blender/myvis.natvis",
"showDisplayString": true
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment