From 2f609c2b9a092c27e5250de9369e6db9f9a2807e Mon Sep 17 00:00:00 2001 From: umanamente Date: Sun, 22 Jan 2017 14:21:29 +0500 Subject: [PATCH] Added cppcheck.natvis file for human readable debug information in Visual Studio. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an optional extended description… --- lib/cppcheck.natvis | 62 ++++++++++++++++++++++++++++++++++++ lib/cppcheck.vcxproj | 3 ++ lib/cppcheck.vcxproj.filters | 3 ++ 3 files changed, 68 insertions(+) create mode 100644 lib/cppcheck.natvis diff --git a/lib/cppcheck.natvis b/lib/cppcheck.natvis new file mode 100644 index 000000000..31f0101dd --- /dev/null +++ b/lib/cppcheck.natvis @@ -0,0 +1,62 @@ + + + + {_str} + + + + {_front->_str} - {_back->_str} + + _files + + + + + + + pCurr + pCurr = pCurr->_next + + + + + + + + {_name->_str} + + + + {num} + ? + + + + {type}: {className} + + + + {platformType} + + + + {files[fileIndex]} : {line} [col={col}] + + + + + {intvalue} (INT) + {tokvalue} (TOK) + {floatValue} (FLOAT) + + + + + + [UNKNOWN] + {name} = {value} (value_known=true) + {name} = ? + + + + \ No newline at end of file diff --git a/lib/cppcheck.vcxproj b/lib/cppcheck.vcxproj index f27d2510e..b4df7bda1 100644 --- a/lib/cppcheck.vcxproj +++ b/lib/cppcheck.vcxproj @@ -149,6 +149,9 @@ + + + {C183DB5B-AD6C-423D-80CA-1F9549555A1A} cppcheck_lib diff --git a/lib/cppcheck.vcxproj.filters b/lib/cppcheck.vcxproj.filters index fbeb2f233..14b53ec26 100644 --- a/lib/cppcheck.vcxproj.filters +++ b/lib/cppcheck.vcxproj.filters @@ -308,4 +308,7 @@ + + + \ No newline at end of file