From 7a34dbd5c760f7f27afe937aa6f6292cd9966fe2 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sun, 28 Jun 2015 19:22:48 -0500 Subject: [PATCH] Add VS debugger visualization file for xe::be --- libxenia.vcxproj | 5 +++++ libxenia.vcxproj.filters | 3 +++ vsdebuggervis.natvis | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 vsdebuggervis.natvis diff --git a/libxenia.vcxproj b/libxenia.vcxproj index 10f0e4e8c..1f446bd3a 100644 --- a/libxenia.vcxproj +++ b/libxenia.vcxproj @@ -523,6 +523,11 @@ + + + Designer + + {0CE149F6-41C3-4224-9E57-C02E8C7CD312} Win32Proj diff --git a/libxenia.vcxproj.filters b/libxenia.vcxproj.filters index 403883ef8..fda5a8f54 100644 --- a/libxenia.vcxproj.filters +++ b/libxenia.vcxproj.filters @@ -1545,4 +1545,7 @@ third_party\capstone\arch\X86 + + + \ No newline at end of file diff --git a/vsdebuggervis.natvis b/vsdebuggervis.natvis new file mode 100644 index 000000000..6d15009e8 --- /dev/null +++ b/vsdebuggervis.natvis @@ -0,0 +1,34 @@ + + + + + + + {(((value & 0xFF000000) >> 24) | + ((value & 0x00FF0000) >> 8) | + ((value & 0x0000FF00) << 8) | + ((value & 0x000000FF) << 24))} + + + + + {(((value & 0xFF000000) >> 24) | + ((value & 0x00FF0000) >> 8) | + ((value & 0x0000FF00) << 8) | + ((value & 0x000000FF) << 24))} + + + + + + {(((value & 0xFF00) >> 8) | + ((value & 0x00FF) << 8))} + + + + + {(((value & 0xFF00) >> 8) | + ((value & 0x00FF) << 8))} + + + \ No newline at end of file