Watching char array as C String

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

Watching char array as C String

1,265 次查看
Nouchi
Senior Contributor II

Hello,

 

My question is a little bit silly, but, when I'm debugging with CW10.2, I can't find how to display char array as C string.

Choices formats are Natural, Decimal, Hexadecimal,  Binary and fractional, but ASCII seems to miss?

标签 (1)
0 项奖励
回复
3 回复数

894 次查看
Nouchi
Senior Contributor II

Hello,

 

I missed something huge, or it's a real lack?

0 项奖励
回复

894 次查看
sebasira
Senior Contributor I

Hi!

 

I'm not familiar with CW010... I'm using CW4.6 and CW6.3... in both cases, if I want to see the Array as String characters inside the Data Component, I set the format to "Symbolic"... That's not on your list, so I'll try NATURAL o DECIMAL...

 

Or you can view it inside the MEMORY component, just input the variable address or right-click on it inside the DATA component and then click on  "Show Location"... there you can see it as string characters

 

If you're working with a paged memory model,  remember to set the right page.

 

Hope it helps!

0 项奖励
回复

894 次查看
Nouchi
Senior Contributor II

Hi,

 

Things doesn't seem to be so clear in CW10 than in classic IDE :smileyfrustrated:.

0 项奖励
回复