Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Working example of a C++ debug visualizer for std::vector available



Permlink Replies: 0 Threads: [ Previous | Next ]
Johannes Weinert

Posts: 90
Registered: 7/19/02
Working example of a C++ debug visualizer for std::vector available
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 7, 2018 2:33 AM
Hello,

I would like to share my results of my work on C++ debug visualizers.

I will post an example C++Builder package project in the attachment
group. It contains debug visualizers for std::vector, std::valarray,
std::list, std::shared_ptr and std::unique_ptr.

The project requires C++Builder 10.2.1 because it uses generic debug
visualizers.

The visualizers assume that the clang compiler is used. To debug code
compiled with the classic compiler the name of the class members (e.g.
used for 'usexpr_len' or 'usmyptr') have to be adjusted.

I had a quick look at std::set. But implementing a visualizer for it
would mean to traverse through the tree using evaluation calls.

Feel free to publish improved versions of the project.

Regards

Hans
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02