CW 10.1, debugger, displaying variables in Hex and stepping over interrupts

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

CW 10.1, debugger, displaying variables in Hex and stepping over interrupts

跳至解决方案
1,964 次查看
Nik
Contributor III

By default, CW is displaying variables in "natural" format.  I want to set the default, where can I do that?

 

Also, if I want to display the members of an array, I have to select them all and change format.  A struct is even worse, I have to individually select the members. 

 

Stepping over interrupts-

In CW classic I could select 'Step over interrupts', but not so in CW 10.  I was told by Freescale to disable them, but I don't want them disabled, just want to step over as in CW classic.

 

I am really missing CW classic.  So much faster & productive.

 

Any help would be appreciated.

 

Thanks,

-Robert

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

Hello,

about stepping over interrupts: this depends on the target.

I assume this is for S08? So yes, this is missing in MCU10.1, but if you have the 1.0.1 service pack installed, then you can find the settings in the debugger launch configuration: Launch Configuration > Debugger > Interrrupts > Disable Interrupts during stepping.

 

BK

在原帖中查看解决方案

0 项奖励
回复
9 回复数
1,224 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

about stepping over interrupts: this depends on the target.

I assume this is for S08? So yes, this is missing in MCU10.1, but if you have the 1.0.1 service pack installed, then you can find the settings in the debugger launch configuration: Launch Configuration > Debugger > Interrrupts > Disable Interrupts during stepping.

 

BK

0 项奖励
回复
1,223 次查看
Nik
Contributor III

Yes, I'll download it.  Anyone know the location of the repository?

Thanks again,

Robert

0 项奖励
回复
1,223 次查看
BlackNight
NXP Employee
NXP Employee

I prefer to download the file and then update from the archive (instead of direct internet connection):

- Go to www.freescale.com/codewarrior

- on the left hand side click on Updates, Patches and Extensions

- In the middle, unfold 'Microcontrollers(Eclipse)' and select Microcontrollers v10.1

- Then select MCU 10.1 Update for Windows to download

  (direct link: http://cache.freescale.com/lgfiles/updates/CWHC08/CW_MCU_v10.1_Update_1.0.1.zip?WT_TYPE=Updates%20an...)

 

Then start CodeWarrior/eclipse, select menu Help > Install New Software.

Press the 'Add' button, then give a name (e.g. CW Update 1.01) and press 'Archive' (browse for above file).

Next steps are obvious, I hope.

 

BK

0 项奖励
回复
1,223 次查看
Nik
Contributor III

Thanks, I did the update.  I was still wanting to use the repository, anyone know the address?

 

Thanks again, Robert

0 项奖励
回复
1,223 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

 

Here is the address for using the eclipse updater (as update site):

http://freescale.com/lgfiles/updates/Eclipse/MCU10_1/com.freescale.mcu.updatesite

 

Make sure you *disable* 'contact all update sites during install to find required software'.

 

BK

0 项奖励
回复
1,223 次查看
CrasyCat
Specialist III

Hello

 

If you want to see value for some variables only in hexadecimal:

In the Debug perspective's Variable window, right-click on the variable name and
select Format > Hexadecimal.

If you want the values for all variables displayed as hexadecimal:

  1) Select Windows > Preferences.
  2) Go to the C/C++ > Debug panel. There you can change default display format for variables, expressions and registers.
  3) Select Hexadecimal instead of Natural for Variable format to see all variable values displayed as hexadecimal. Click OK.

As for the second question I do not know where you can set "'Step over interrupts'". Sorry.

 

CrasyCat

0 项奖励
回复
1,223 次查看
NNeff
Contributor III

We're using 10.3 of CodeWarrior for MCUs. The format for individual variables still does not appear to be persistent between closing CW and reopening the debugger.  Is there a setting that would make the formats persistent, or is it still the case that the best we can do is change the default for all the variables?  Thanks.

0 项奖励
回复
1,223 次查看
BlackNight
NXP Employee
NXP Employee

I'm using CW MCU V10.4, and the custom variable format settings are persistent between debug sessions. And my settings are present after restarting the IDE. Typically I want to see all my variable in hexadecimal format, so I'm not switching formats that much. But I can conform it works for me in 10.4.

0 项奖励
回复
1,223 次查看
Nik
Contributor III

Thank you!

0 项奖励
回复