Haider
Haider

Reputation: 958

Eclipse plugin that allows customized view of variables/objects while debugging

While using C++ I have to deal with programs that have objects like matrices, linked lists etc

The default view of eclipse for variables while debugging is not very useful. It normally shows pointer values with value of only the first element in the array.

Below is how it is in eclipse: eclipse default variable view popup

As we can see the matrix object has rows and columns integers and a double 2D array. I cannot see the values of the array in user friendly manner.

My question is that, is there anyway in eclipse (using plugin etc) through which I can define custom user interfaces (popups) for each object/class of my interest.

For example I would like to have the following (Matlab's view) kind of popup when I hover over an initialized matrix object: Matlab pop up for viewing matrix object

Upvotes: 2

Views: 1156

Answers (1)

Bananeweizen
Bananeweizen

Reputation: 22080

The JDT has a feature called detail formatters to make that possible. The corresponding implementation for the CDT seems to have stalled after a first prototype however, and did not make it into Eclipse.

Upvotes: 4

Related Questions