summaryrefslogtreecommitdiff
path: root/source/core/core.natvis
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-29 14:16:38 -0700
committerGitHub <noreply@github.com>2017-06-29 14:16:38 -0700
commitb2b08679a32506d629df84730f36639dab9f9593 (patch)
treee9aad4ff9a6111d828ae2e4b217dc8145cda56dd /source/core/core.natvis
parent16613ed981fc5dc38966f5108e85b1aee36ef92f (diff)
parentf4d900dfb64d95f121dd8565dd269be061ef8509 (diff)
Merge pull request #51 from tfoleyNV/refptr-string-cleanup
Overhaul `RefPtr` and `String`
Diffstat (limited to 'source/core/core.natvis')
-rw-r--r--source/core/core.natvis4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/core.natvis b/source/core/core.natvis
index 19c6db395..3d9ac702e 100644
--- a/source/core/core.natvis
+++ b/source/core/core.natvis
@@ -3,8 +3,8 @@
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Slang::String">
- <DisplayString>{buffer.pointer,s}</DisplayString>
- <StringView>buffer.pointer,s</StringView>
+ <DisplayString>{((char*) (buffer.pointer+1)),s}</DisplayString>
+ <StringView>((char*) (buffer.pointer+1)),s</StringView>
</Type>
<Type Name="Slang::ArrayView&lt;*&gt;">