Bug 289856 - Shared debug launch configurations saved in projects do not appear on another pc
Summary: Shared debug launch configurations saved in projects do not appear on another pc
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 0 DD 1.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 09:55 EDT by Oyvind Harboe CLA
Modified: 2020-09-04 15:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oyvind Harboe CLA 2009-09-18 09:55:19 EDT
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090803 Ubuntu/9.04 (jaunty) Shiretoko/3.5.2
Build Identifier:  I20090611-1540

I've figured out why debug launch configurations saved in projects
"dissappear" when they are used on a different computer.

Typical scenario:

- create debug launch configuration
- use it
- save it (common->shared)
- copy the project to another computer

Sometimes the debug launch is available other times not. There are no error messages or indications as to what's wrong.

The reason is that there are properties saved in the debug configuration
that are invalid on another computer.

By removing these lines in .launch file, the launch configuration reappeared
in my case...

<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/nios2_test"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>




Reproducible: Always

Steps to Reproduce:
Create C++ debug configuration, use it, save it, share it and copy it to another PC.