mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 12:42:34 +01:00
Add bx.natvis (#179)
This commit is contained in:
committed by
Branimir Karadžić
parent
f02913f826
commit
2ca39fce29
@@ -15,6 +15,7 @@ project "bx"
|
||||
path.join(BX_DIR, "include/**.h"),
|
||||
path.join(BX_DIR, "include/**.inl"),
|
||||
path.join(BX_DIR, "src/**.cpp"),
|
||||
path.join(BX_DIR, "scripts/**.natvis"),
|
||||
}
|
||||
|
||||
configuration { "Debug" }
|
||||
|
||||
10
scripts/bx.natvis
Normal file
10
scripts/bx.natvis
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
<Type Name="bx::StringView">
|
||||
<DisplayString>{m_ptr,[m_len]s8}</DisplayString>
|
||||
<StringView>m_ptr,[m_len]s8</StringView>
|
||||
<Expand>
|
||||
<ExpandedItem>m_ptr,[m_len]</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
Reference in New Issue
Block a user