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

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

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

Jump to solution
1,771 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,030 Views
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

View solution in original post

0 Kudos
9 Replies
1,031 Views
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 Kudos
1,030 Views
Nik
Contributor III

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

Thanks again,

Robert

0 Kudos
1,030 Views
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 Kudos
1,030 Views
Nik
Contributor III

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

 

Thanks again, Robert

0 Kudos
1,030 Views
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 Kudos
1,030 Views
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 Kudos
1,030 Views
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 Kudos
1,030 Views
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 Kudos
1,030 Views
Nik
Contributor III

Thank you!

0 Kudos