S32DS Debugger view Variables doesn't work?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS Debugger view Variables doesn't work?

712 Views
peter_vranken
Contributor IV

Dear People,

I have a trivial problem: In the S32DS for Power Architecture, perspective
Debug, view Variables, I only see or get the local variables. I couldn't
find any way to add global variables to the list of displayed variables.
There are find operations, but they simply offer nothing.

Am I doing something wrong? Do I misunderstand this view? Or is it a bug?

This effect has been seen with versions 2017 R1 and 2.1. It's the same for
my own makefile projects and for sample projects I let the wizard create.

Fortunately, it's not catastrophic since the other view Expressions works
fine. It offers even more functionality. The only drawback I found is that
the selection of variables is not so comfortable, one has to copy and paste
the name from the source code into a new expression instead of doing a
mouse click in a drop-down box as we know it from the well working view
variables in Code Warrior.

By the way, I found out that view Expressions can be used to partly
circumvent a sad weakness of S32DS in comparison to Code Warrior: View
EmbSys Registers shows the I/O devices but doesn't show the SPRs of the
cores. In view Expression you can however enter everything, which we know
from the GDB client command line, particularly things like $SRR0 or $MCSR.
Still missing is CW's very handy display of bits and bit fields with short
explanation - even after years of work with PPC I don't know all MSR bits
by heart...

Regards,

Peter

Tags (1)
0 Kudos
1 Reply

617 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, for global variables the Expressions have to be used.

BR, Petr

0 Kudos