Is there a way to display the variables always in the Hexadecimal format?

Yes. There is a way to display the variables always in Hexadecimal instead of the default decimal format. In order to accomplish this, follow steps below.

  1. Select Window > Preferences from C/C++ perspective toolbar.

    The Preferences window appears.

  2. Select C/C++ > Debug.

    The Debug settings appear.

  3. Change Default variable format to Hexadecimal. By default, it is set to Natural (for more information, refer to the image listed below).
    Figure 1. Preferences Window-Debug Page

    Preferences Window-Debug Page

  4. Click Apply.
  5. Click OK.
  6. Restart CodeWarrior Development Studio.

When Variables view appears in the debug perspective, the variables appear in the Hexadecimal format.

Note: This setting is a global setting.