Array hovering trouble

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

Array hovering trouble

229 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Kaare on Tue Sep 04 23:57:42 MST 2012
Hi

OK, I'm new to LPCXpresso IDE, but I have been using several IDE's, but never met this problem before:

I simply want to debug my application, pause the execution, and view the content of a simple u8 array, by hovering the array with the mouse.

A simple example:
[SIZE=2] 
I2CMasterBuffer[0] = PCF8594_ADDR; // 0xA0
I2CMasterBuffer[1] = 0x00;
[/SIZE][SIZE=2]I2CMasterBuffer[2] = 0x55;
[/SIZE][SIZE=2]I2CMasterBuffer[3] = 0xAA;
[/SIZE][SIZE=2]I2CMasterBuffer[4] = 0x12;
[/SIZE][SIZE=2]I2CMasterBuffer[5] = 0x34;
[/SIZE]
When hovering the mouse, I get this:
I2CMasterBuffer = "\240\000U\252\022\064"

First of all, how do I make it show the simple int value?????

And second: why does it only show 5 values. The array is 6 long.

And third: How do I add the array or a value to a "view"?

These operations are normally very intuitive in other IDE's ...

Thanks!

br
Kaare
0 Kudos
3 Replies

220 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Sep 05 13:53:43 MST 2012

Quote: Kaare
What about the Hover? Is it possible to change the formatting?



AFAIK, no: http://knowledgebase.nxp.com/showthread.php?t=272
0 Kudos

220 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Kaare on Wed Sep 05 13:46:22 MST 2012
Ah OK, thanks.
But why it is necessary to double click the var first, I can't figure out...

What about the Hover? Is it possible to change the formatting?

br
Kaare
0 Kudos

220 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Sep 05 01:43:53 MST 2012

Quote: Kaare
How do I add the array or a value to a "view"?



#1 Double click array name (= name is selected)

#2 Right click selected name and select 'Add watch expression...' and OK

#3 View your array in 'Expressions' View' :)
0 Kudos