MCUXpresso exporting Watch variables

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

MCUXpresso exporting Watch variables

1,987 Views
ovidiu_perta
Contributor III

How do I export in a file the variables content in a debug session (done on FRDM-KW36 board), located in "Variables" watch window? I have thousands of bytes to monitor.

Tags (1)
0 Kudos
Reply
6 Replies

1,869 Views
guenter_loettrich
NXP Employee
NXP Employee
0 Kudos
Reply

1,869 Views
ovidiu_perta
Contributor III

Thanks for idea, but for the moment it doesn't support MKW39.

0 Kudos
Reply

1,869 Views
ErichStyger
Specialist I

<CTRL>+A to select all variales in the view, then <CTRL>+C to copy them. <CTRL>+V to paste them e.g. in a text editor.

I hope this helps,

Erich

0 Kudos
Reply

1,869 Views
ovidiu_perta
Contributor III

Indeed this works, but not in my case. I mean in case of an array[1000] for example, I have to expand  manually 10 times each divided array (it is divided into 10 arrays x 100 elements) and just after that copy + paste. There is no button to expand automatically. I tried different formats that are alowed by Variable window and nothing worked. So is there a way to export thousands of elements of an array, without expanding manually? 

0 Kudos
Reply

1,869 Views
ErichStyger
Specialist I

In that case you might have a look at the gdb commands, see Dumping Variables and Arrays with GDB in Eclipse | MCU on Eclipse 

I hope this helps,

Erich

0 Kudos
Reply

1,869 Views
ovidiu_perta
Contributor III

Thanks, it is a good start point for me.

0 Kudos
Reply