Duplicating a project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Duplicating a project

558 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Sep 14 07:27:08 MST 2011
Hello CodeRed,

I copied and pasted a project, Breakpoints not appear in the editor (marks), but Breakpoints are there. What should be the correct behavior?
- The Breakpoints should not be copied.
- All attributes of the project should be copied.

Thank you.
0 Kudos
Reply
1 Reply

550 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Sep 15 02:11:50 MST 2011
Breakpoints are stored within the workspace, and by default are set without pathnames. This means that if you have multiple projects with source files with the same filename, then you may hit breakpoints in one project that were set when debugging another project.

You can change this on a project by project basis by right clicking on a project in the Project Explorer view and selecting:

[FONT=Courier New][SIZE=2]Launch Configurations -> Open Current Launch Configuration ...
-> Debugger tab -> "Main" sub-tab[/SIZE][/FONT]

and enabling "[FONT=Courier New][SIZE=2]Use full file path to set breakpoints[/SIZE][/FONT]".

Regards,
CodeRedSupport
0 Kudos
Reply