Custom debugger view in C++

Hi,

In order to display a std::vector nicely in the debugger, AppCode uses internally a custom view for the class (as nobody wants to have a look at 3 different pointers which std::vector is made of).

Is there a way to add your own custom view for user defined objects ?

Best regards,
François

5 comments

Unfortunatelly, no. There is no such way at the moment. However, you can use watches window with custom expressions retrieving necessary information for your objects.

0

Sorry for the late reply and thanks for the information.

I hope that you are working on debug visualizer for CLion. I would be very pleased if you provide such thing as I don't use STL objects but my own implementation.

1

Is this still not possible or do you have a solution now?

0

Hi Gael. You can use GDB and LLDB pretty printers. I am running that know are it works perfectly.

0

Please sign in to leave a comment.