Using a Custom Debug Perspective in Eclipse

The MCUXpresso IDE comes with a ‘Develop’ perspective which combines the usual C/C++ and the Debug perspective in one:

MCUXpresso Develop Perspective

MCUXpresso Develop Perspective

That ‘Develop’ perspective is great especially for new users of Eclipse, as it does not change windows and views between for the Debugging phase in the development process. But for advanced users the ‘Develop’ perspective might not be what they are used to, or if I want to have a special arrangements of views during debugging.

As always, Eclipse is very flexible and allows pretty much everything. I can specify for each connection which perspective I want to use.

The setting is a workspace setting, so go to Window > Preferences > Run/Debug > Perspectives. There I can specify for each launcher group or launcher entry which Perspective I want to use:

Specifying the Debug Perspective

Specifying the Debug Perspective

So I have specified for all connections that I want to use the ‘Debug’ perspective, and that it shall switch to it without prompting. It is possible to select any perspective or a custom one using that drop box on the right side of that dialog.

That way I can use the normal Debug perspective:

Using the Debug Perspective

Using the Debug Perspective

Happy Perspecting ๐Ÿ™‚

Links

Advertisements

3 thoughts on “Using a Custom Debug Perspective in Eclipse

  1. This flexibility can be confusing for the beginner, but once you get accustomed to the functions of the various perspectives/windows itโ€™s handy to have only what you need only when you need it! Nice write-up, Erich!

    Like

  2. Hi Erich,

    Thanks for the write-up. I have created a custom debug perspective in MCUXpresso v10.1.0. I assigned it to be the perspective that opens when I launch a debugging session, thanks to this post.

    I would like for this perspective to show the “MQX” menu to be able to access the MQX TAD screens easily.

    I go to Window > Perspective > Customize Perspective. I then click on the “Menu Visibility” tab and make sure the “MQX” menu structure is checked. (I also enabled the “FreeRTOS” to see if that will work).

    Unfortunately neither of those options are visible in the menu bar after I click OK. When I switch back to the default “Debug” perspective, I see that both of those menu options appear and both of the options are checked in the “Customize Perspective.” I am not sure how to proceed from here.

    Have you tried to add menu items in custom perspectives before?

    Like

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s