The difference with CW

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

The difference with CW

跳至解决方案
2,218 次查看
haidong_zheng
NXP Employee
NXP Employee

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:

11715_11715.pngKDS1.png

CW memory view:

11716_11716.pngKDS2.png

 

CW Debug Console:

11717_11717.pngKDS3.png

标签 (1)
0 项奖励
回复
1 解答
2,019 次查看
BlackNight
NXP Employee
NXP Employee

There are two different views for memory in Eclipse:

  1. Memory View
  2. Memory Browser View

Each has its pros and cons. For 'embedded' memory views the 'traditional' rendering can be used:

pastedImage_2.png

Then you can specify the cell size, or the radix (signed, unsigned, hexadecimal, ...)

pastedImage_3.png

As KDS is using GDB, you can use the normal GDB command line debugging. For this, open the corresponding arm-none-eabi-gdb console:

pastedImage_4.png

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:

pastedImage_6.png

I hope that helps as a starter?

Erich

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,020 次查看
BlackNight
NXP Employee
NXP Employee

There are two different views for memory in Eclipse:

  1. Memory View
  2. Memory Browser View

Each has its pros and cons. For 'embedded' memory views the 'traditional' rendering can be used:

pastedImage_2.png

Then you can specify the cell size, or the radix (signed, unsigned, hexadecimal, ...)

pastedImage_3.png

As KDS is using GDB, you can use the normal GDB command line debugging. For this, open the corresponding arm-none-eabi-gdb console:

pastedImage_4.png

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:

pastedImage_6.png

I hope that helps as a starter?

Erich

0 项奖励
回复
2,019 次查看
haidong_zheng
NXP Employee
NXP Employee

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 ?

0 项奖励
回复
2,019 次查看
BlackNight
NXP Employee
NXP Employee

No, tab auto completion is not supported in the Eclispe GDB console, see c++ - Is there any enhanced gdb console for Eclipse? - Stack Overflow

0 项奖励
回复
2,019 次查看
haidong_zheng
NXP Employee
NXP Employee

Hi Erich, Got it, Thanks!

0 项奖励
回复