Saving the Data:1 HC(S)12(X) Debugger window to a .TXT (or .CSV) file

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

Saving the Data:1 HC(S)12(X) Debugger window to a .TXT (or .CSV) file

跳至解决方案
1,489 次查看
aceshigh99
Contributor I

Is there any way to halt the debugger, and dump all of the variable data contained in the Data:1 window to some sort of .TXT file, or CSV, etc.?

 

I can't seem to find any way to do it, and using alt-prntscrn to paste a pic of the data window into Powerpoint is tedious, to say the least.

 

Also, is there any way to expand the content of ALL structures in the Data:1 window, instead of having to manually click the for each one?  I have some large arrays for data logging, and it really slows down the debugging process to expand each structure one-by-one.

 

Thanks in advance for the help.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
974 次查看
CrasyCat
Specialist III

Hello

 

You can dump content of Data:1 window using the Command

      Data:1 < DUMP

If you want to store the Data window dump to a file use the commands:

 

      LF DataDump.txt

      Data:1 < DUMP

      NOLF

 

Please Refer to Debugger_HC12.pdf BOOK IV for more information on the available commands.

 

I am not aware of a simple way to expand all structure variable in the Data window.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
1 回复
975 次查看
CrasyCat
Specialist III

Hello

 

You can dump content of Data:1 window using the Command

      Data:1 < DUMP

If you want to store the Data window dump to a file use the commands:

 

      LF DataDump.txt

      Data:1 < DUMP

      NOLF

 

Please Refer to Debugger_HC12.pdf BOOK IV for more information on the available commands.

 

I am not aware of a simple way to expand all structure variable in the Data window.

 

CrasyCat

0 项奖励
回复