cancel
Showing results for 
Search instead for 
Did you mean: 

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.

KChiz.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

4 REPLIES 4
Thierry
Senior

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
Associate II

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
Senior

Dear Kchiz.1,

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

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.