Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Using a Custom Debug Perspective in Eclipse

DZone's Guide to

Using a Custom Debug Perspective in Eclipse

See how custom perspectives in the Eclipse IDE can provide a special arrangement of views during debugging or other capabilities.

· Performance Zone
Free Resource

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 arrangement 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

Topics:
performance ,eclipse ,debugging ,c ,c/c++

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}