P
P
Pavel2015-12-14 10:29:40
NetBeans
Pavel, 2015-12-14 10:29:40

How to properly prepare Clion or Netbeans for c++ development?

Now I am taking C++ courses, where I use the Visual Studio 2013 environment. In the courses, we are sometimes told about the various subtleties of its settings. At home, I have Ubuntu installed, and I have to finish the labs in a different environment, namely in Clion. At the time of the debug, I encountered bugs with differences .
On the example of a lab, where it is necessary to make a doubly linked list, the lab's repository is at the link .
When I start debugging, I see the current objects in the debugger.
19a1f3cc652142a6a9950b1782ec5dc8.PNG
The base class pointer contains an object at the address 0x006beb68, which contains a child class object with the base class parameter with the value GREEN. Those. I see all the information about the object.
Running the debug through Clion, I stumble upon this picture:
f7dd0d50e4f34be3982fdeff70390943.PNG
The address of the object, the value of the base class parameter, and that’s it. Well, for some reason there is a whole array of dimensionless arrays (this is a clion bug, because in netbeans it shows 1 object, but also with the value of the base class element, without a child circle)
These are the features of the gcc compilers and visual studio? Is it possible to configure the display of existing objects at the time of debugging like visual studio?

UPD 12/16/2015

As a result of a long googling, I found a bunch of posts that Netbeans can’t show data by base pointer, Clion can’t + buggy, Eclipse couldn’t start right away, you need to delve into make manuals (haven’t had time yet), but Qt shows what is needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2015-12-14
@rusbaron

Yes, this is a bug in CLion. this IDE is still raw and it will be possible to use it normally in a couple of years, judging by the fact that they have not corrected this bug in a year.
Under Linux, I advise you to use QtCreator.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question