KindDragon / CPPDebuggerVisualizers

C++ Debugger Visualizers
Boost Software License 1.0
174 stars 46 forks source link

boost::posix_time::ptime visualizer fails on Visual Studio 2017 #10

Closed aligature closed 7 years ago

aligature commented 7 years ago

Fails with: Natvis: C:\USERS\WEBBERA\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_F83E6E1A\EXTENSIONS\JRPEI2XO.WNX\Visualizers\boost_DateTime.natvis(31,23): Error: Expression is too long or complex to be supported by the debugger.

aligature commented 7 years ago

Also see https://connect.microsoft.com/VisualStudio/feedback/details/3131078/debug-visualizers-for-boost-posix-time-ptime-fail

KindDragon commented 7 years ago

Should work now https://marketplace.visualstudio.com/items?itemName=ArkadyShapkin.CDebuggerVisualizersforVS2017

aligature commented 7 years ago

That's awesome. Did you actually find the Intrinsic element referenced in any natvis documentation? I've never seen it and it's the exact tool I was wishing existed.

KindDragon commented 7 years ago

I found Intrinsic element description in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Xml\Schemas\1033\natvis.xsd" and their examples of use in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Packages\Debugger\Visualizers\stl.natvis"