My KDS in running on ArchLinux 64bit.
1: In CW, when I view the memory, there is a view render as HEX Integer format, while in KDS, I only can see HEX format, HEX format is byte array, while HEX Integer is integer array, please see below picture:
I thinks HEX integer is very useful in view the memory, could KDS team as this way in new KDS release ?
2: In CW, when I need a breakpoint I will enter this breakpoint in Debug Console likely this command : bp khci.c 1024, while in KDS I can't find this Debug Console, this is also a very useful feature.
KDS memory view:
CW memory view:
CW Debug Console:
Solved! Go to Solution.
There are two different views for memory in Eclipse:
Each has its pros and cons. For 'embedded' memory views the 'traditional' rendering can be used:
Then you can specify the cell size, or the radix (signed, unsigned, hexadecimal, ...)
As KDS is using GDB, you can use the normal GDB command line debugging. For this, open the corresponding arm-none-eabi-gdb console:
help breakpoints
gives you a quick help. Have a look as well at Debugging with GDB
For example 'break main' will set a breakpoint at main:
I hope that helps as a starter?
Erich
There are two different views for memory in Eclipse:
Each has its pros and cons. For 'embedded' memory views the 'traditional' rendering can be used:
Then you can specify the cell size, or the radix (signed, unsigned, hexadecimal, ...)
As KDS is using GDB, you can use the normal GDB command line debugging. For this, open the corresponding arm-none-eabi-gdb console:
help breakpoints
gives you a quick help. Have a look as well at Debugging with GDB
For example 'break main' will set a breakpoint at main:
I hope that helps as a starter?
Erich
Thanks Erich!
That is the correct way just like in CW.
For GDB console, TAB key seem can't do auto completing the comamnd like in real GDB console. Is there a way do this ?
No, tab auto completion is not supported in the Eclispe GDB console, see c++ - Is there any enhanced gdb console for Eclipse? - Stack Overflow
Hi Erich, Got it, Thanks!