How do I enable Live View for variables when debugging?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How do I enable Live View for variables when debugging?

跳至解决方案
8,239 次查看
davidklamer
Contributor II

I am working with S32 Design Studio using the S32K144EVB with the OpenSDA debugger.  I am trying to enable Live View for variables, where the variables in the watch window will update while the device is running.  However, I can't seem to find it.  Is there something I need to download or a setting I need to change to enable it?

I did some searching and found this article showing the P&E has a plugin for Eclipse.  I installed the latest PEMicro extension as suggested in the article, but it didn't seem to make any difference.

I used this feature all the time with CodeWarrior, and would like to use it for S32 Design Studio as well.  Any help would be appreciated! 

标签 (2)
1 解答
6,784 次查看
stanish
NXP Employee
NXP Employee

Hello David,

The Real Time Expressions View works with any PEMicro cable including OpenSDA interface.

The Live View feature is documented on pemicro PEMicro Blog 

This view is not opened by default in the Debug perspective and you have to add it manually

Simply Go to menu Window -> "Show View" -> "Other..." and type "Real" into the filter field and select " Real Time Expressions"

pastedImage_5.png

The view should appear in the Debug perspective. Now if you add a variable and press "Resume" button (F8 key):

pastedImage_6.png

You should observe the variable is being updated.

If it does not work on your side please send us more details.

Thanks!

Stan

在原帖中查看解决方案

5 回复数
3,314 次查看
Srividhya1
Contributor I

how to export those real time expressions values @stanish  into text or excel any data.

0 项奖励
回复
3,231 次查看
stanish
NXP Employee
NXP Employee

Hi,

I'm not aware of any way how to easily log the Real time variables into csv or excel format.

Please try to ask PEmicro | Experts in Embedded tools for Flash Programming and Development

Another approach to capture runtime variables is to use FreeMASTER tool. See the related NXP community here:

FreeMASTER - NXP Community

Hope it helps.

S.

0 项奖励
回复
6,786 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

please read the article from PEMicro below. It explains how to setup S32 Design Studio.

PEMicro Blog 

Regards,

Martin

6,785 次查看
stanish
NXP Employee
NXP Employee

Hello David,

The Real Time Expressions View works with any PEMicro cable including OpenSDA interface.

The Live View feature is documented on pemicro PEMicro Blog 

This view is not opened by default in the Debug perspective and you have to add it manually

Simply Go to menu Window -> "Show View" -> "Other..." and type "Real" into the filter field and select " Real Time Expressions"

pastedImage_5.png

The view should appear in the Debug perspective. Now if you add a variable and press "Resume" button (F8 key):

pastedImage_6.png

You should observe the variable is being updated.

If it does not work on your side please send us more details.

Thanks!

Stan

6,785 次查看
davidklamer
Contributor II

Thank you!  That is exactly what I needed, and is now working perfectly.