[Container] any debug renderings for Visual Studio?
When I try to inspect, say, a flat_vector (or anything built on top of it like a flat_map) I can't see the elements in the Watch display. Is there some way to teach VS about that? I seem to remember a long time ago having VS skip things like shared_ptr dereference when stepping through.
On 29/01/14 10:38, John M. Dlugosz wrote:
When I try to inspect, say, a flat_vector (or anything built on top of it like a flat_map) I can't see the elements in the Watch display. Is there some way to teach VS about that? I seem to remember a long time ago having VS skip things like shared_ptr dereference when stepping through.
https://svn.boost.org/svn/boost/sandbox/boost_docs/subprojects/DebuggerVisua... Nothing for Container, but perhaps some inspiration. Ben
On 29/01/2014 15:38, Quoth John M. Dlugosz:
When I try to inspect, say, a flat_vector (or anything built on top of it like a flat_map) I can't see the elements in the Watch display. Is there some way to teach VS about that? I seem to remember a long time ago having VS skip things like shared_ptr dereference when stepping through.
In (VS dir)\Common7\Packages\Debugger, there's a file called "autoexp.dat" (which is just a text file). You can look at some of the existing examples in there and add your own to support various things. A while back I added some custom entries to mine for boost::shared_ptr and friends based on the existing examples for std::tr1::shared_ptr in the file. There are examples for std::vector etc in there too, so it shouldn't be too hard for you to add flat_vector -- mostly just a matter of finding the internal names of things.
2014-01-29 Gavin Lambert
On 29/01/2014 15:38, Quoth John M. Dlugosz:
When I try to inspect, say, a flat_vector (or anything built on top of
it like a flat_map) I can't see the elements in the Watch display. Is there some way to teach VS about that? I seem to remember a long time ago having VS skip things like shared_ptr dereference when stepping through.
For VS2012 or 2013 I suggest: https://cppvisualizers.codeplex.com/ It supports many boost libs (container incnluded) and few more. In fact it should probably go to boost docs.
On Wed, Jan 29, 2014 at 10:33 AM, Szymon Gatner
For VS2012 or 2013 I suggest: https://cppvisualizers.codeplex.com/
It supports many boost libs (container incnluded) and few more.
In fact it should probably go to boost docs.
The front pages don't say if it support flat_* or stable_vector and this extension don't seem to work with VS2013 (yet).
participants (5)
-
Ben Pope
-
Gavin Lambert
-
John M. Dlugosz
-
Klaim - Joël Lamotte
-
Szymon Gatner