Skip to main content
KChiz.1
Associate II
March 24, 2020
Solved

Is there a good way to view structured data? I have a global variable of structure data type, I was not able to view any fields of this struct except of specifying memory address directly.

  • March 24, 2020
  • 3 replies
  • 1341 views

..

This topic has been closed for replies.
Best answer by Richard.Chvr

No update since a while, closing the post.

3 replies

Thierry
Visitor II
March 31, 2020

Dear KChiz,

Did you check the "Expand Variable List" checkbox in the "exe-config" node panel (as shown in attached picture)?

It should normally show the content of data structure and the arrays.

0693W000000V5x5QAC.png

Best Regards,

Thierry

KChiz.1
KChiz.1Author
Associate II
March 31, 2020

OK, I got it. I'm using C++. For some reason this feature works only for 'structs' but not for classes.

Same code compiled using arm-none-eabi-gcc 9.2.1 i C++ mode. If I use 'struct' keyword.

0693W000000V6PdQAK.png

It looks OK.

0693W000000V6PnQAK.png

However is I use 'class':0693W000000V6QHQA0.png

No fields of class are visible:

0693W000000V6QRQA0.png

So this question should be re-classified as "Expand variables does not work with classes".

Thierry
Visitor II
April 14, 2020

Dear Kchiz.1,

The C++ classes are actually not supported by our executable parser. We will look at this support in a futur release.

Richard.Chvr
Richard.ChvrBest answer
Technical Moderator
September 27, 2023

No update since a while, closing the post.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.