Bug 388230 - breakpoints are visible to all projects. Make breakpoints visible per project
Summary: breakpoints are visible to all projects. Make breakpoints visible per project
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 10:05 EDT by satya bodapati CLA
Modified: 2012-09-05 06:58 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 satya bodapati CLA 2012-08-28 10:05:33 EDT
Breakpoints in one project are visible to other projects and causes a lot of confusion.

When opening a different project , breakpoints opened in the old projects should not be visible
to the new project.


-- Configuration Details --
Product: Eclipse 1.5.0.20120131-1544 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 4.2.0.v20120608-135145-9JF7BHV8FyMteji0Oi_ePMz0xuZ8TVo7lV0z0ecb
Comment 1 Michael Rennie CLA 2012-09-04 13:40:37 EDT
Platform debug handles all things breakpoints.
Comment 2 Michael Rennie CLA 2012-09-04 13:42:53 EDT
Breakpoints are a typically a per-resource kind of thing, so I am no sure what you mean by "When opening a different project , breakpoints opened in the old projects should not be visible to the new project". Are you suggesting that the old project is closed (so we would added some sort of filtering), or are you talking about grouping? selections?
Comment 3 satya bodapati CLA 2012-09-05 01:37:29 EDT
Open a new c++ project , put a breakpoint somewhere in the project. When debugging, in breakpoints window, you will see one breakpoint in the breakpoint windows. This is right.

Now, create a new c++ project, put a breakpoint again in the new project. When debugging, in the breakpoints window, you will see *two* entries in the breakpoint window. One from the first opened project and the second one from the current project.

According to me, the breakpoints window for the second project should not show any other breakpoints set in other projects. Ideally, I should see only one breakpoints entry in the breakpoint window not two.

Hope I am little clear now.. If not, please let me know. I will attach screenshots explaining the problem.
Comment 4 satya bodapati CLA 2012-09-05 06:58:13 EDT
This happens when there are two active projects.

If I do "Close Project" on the first one, then the breakpoints from first project are not visible to the second one. Probably can live with this workaround for now.

The breakpoints visible should be based on the 'active' project selected.

Please compare the behavior in MS visual studio. When you select a new project, the breakpoints from the other projects are not visible in the project that is running.