The difference with CW

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The difference with CW

ソリューションへジャンプ
2,265件の閲覧回数
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,066件の閲覧回数
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,067件の閲覧回数
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,066件の閲覧回数
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,066件の閲覧回数
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,066件の閲覧回数
haidong_zheng
NXP Employee
NXP Employee

Hi Erich, Got it, Thanks!

0 件の賞賛
返信