DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Operator Overloading in Java
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • SRE vs. DevOps
  • Reactive Programming

Trending

  • Operator Overloading in Java
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • SRE vs. DevOps
  • Reactive Programming
  1. DZone
  2. Coding
  3. Frameworks
  4. Sharing Debug Configuration with Eclipse

Sharing Debug Configuration with Eclipse

Erich Styger user avatar by
Erich Styger
·
Mar. 18, 14 · Interview
Like (0)
Save
Tweet
Share
5.25K Views

Join the DZone community and get the full member experience.

Join For Free

maybe you had this problem too: you shared a project with somebody, only to realize that your carefully crafted debug configuration was not shared?

eclipse has the co ncept to store settings in the ‘framework’. the ‘framework’ is the eclipse internal data, basically what is inside the .metadata folder of the workspace.

metadata folder in workspace

metadata folder in workspace

if i create a debug configuration for a project, then by default eclipse stores it in the ‘framework’ (workspace data). this means that the debug configuration is *not* stored in the project settings: if i zip that project or share it with a version control system, then the debug configuration is *not* shared. in order to share the debug configuration, it needs to be stored in a physical file.

sharing debug configuration file

for this, i need to enable ‘shared file’ in the ‘common’ tab of the debug configuration:

shared debug configuration

shared debug configuration

if i have multiple debug connections for my project, then the settings for each are stored in a separate .launch file:

launch configuration files in project

launch configuration files in project

if now i share the project, and that project gets opened with the .launch files, then the debug configurations will show up. :-)

summary

to share debug (or launch) configurations with my project, then i need to enable ‘shared file’ in the configuration: that way the configuration gets stored in a file inside the project.

happy sharing :-)

Debug (command) Eclipse

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

Opinions expressed by DZone contributors are their own.

Trending

  • Operator Overloading in Java
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • SRE vs. DevOps
  • Reactive Programming

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: