Watching char array as C String

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

Watching char array as C String

675 Views
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?

Labels (1)
0 Kudos
3 Replies

304 Views
Nouchi
Senior Contributor II

Hello,

 

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

0 Kudos

304 Views
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 Kudos

304 Views
Nouchi
Senior Contributor II

Hi,

 

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

0 Kudos