In “Going to Mars: Building a DIY Eclipse IDE for ARM Embedded Microcontrollers” I described how to install an Eclipse based IDE for ARM, based on Eclipse Mars (4.5) and CTD (8.7). There are many great new features in Eclipse Mars which makes that switch worthwhile: the Launchbar:
A dream is are now a reality: a really, really easy way to build, run/debug an application!
Historically, launching (debugging or executing) a binary with Eclipse has been a pain: I need to open debug/launch configurations, it is hard to select the correct configuration, and so on. Until now, with Eclipse Mars and the Launchbar :-).
The Launchbar is not part of Mars C/C++. It needs to be installed from
The Launchbar has three buttons:
- Build the current project
- Launch the current project (debug or run)
- Stop the project launched
I can switch between running or debugging the project:
I can easily select the configuration I want to use or create a new configuration:
To view or edit a configuration I can use the toolbar icon:
Finally, I could create a new connection:
‘Local’ is maybe a bit misleading: it will use the local GDB/debug connection. But it would be possible to use e.g. SSH to a remote board/client/etc.
That plugin is a big step forward in Eclipse to make build-debug-stop very easy. Building and debugging is one click away, without messing with debug and launch configurations. Yet another excellent reason to use Eclipse Mars 🙂
Happy Launching 🙂
- CDT Wiki page: https://wiki.eclipse.org/CDT/LaunchBar
- Doug Schaefer’s blog: http://cdtdoug.ca/2015/05/18/my-journey-to-mars-eclipse-mars/