Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 124246 Details for
Bug 263001
[breakpoints] The BreakpointsMediator should provide a "findPlatformBreakpoints" functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to add the findPlatformBreakpoint() method to the BreakpointsMediator class
BreakpointsMediator_findPlatformBreakpoints.txt (text/plain), 2.11 KB, created by
Mario Pierro
on 2009-01-30 02:36:50 EST
(
hide
)
Description:
Patch to add the findPlatformBreakpoint() method to the BreakpointsMediator class
Filename:
MIME Type:
Creator:
Mario Pierro
Created:
2009-01-30 02:36:50 EST
Size:
2.11 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.dd.dsf.debug >Index: src/org/eclipse/dd/dsf/debug/service/BreakpointsMediator.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.dd.dsf/plugins/org.eclipse.dd.dsf.debug/src/org/eclipse/dd/dsf/debug/service/BreakpointsMediator.java,v >retrieving revision 1.8 >diff -u -r1.8 BreakpointsMediator.java >--- src/org/eclipse/dd/dsf/debug/service/BreakpointsMediator.java 30 May 2008 22:57:44 -0000 1.8 >+++ src/org/eclipse/dd/dsf/debug/service/BreakpointsMediator.java 30 Jan 2009 07:28:32 -0000 >@@ -20,6 +20,7 @@ > import java.util.List; > import java.util.Map; > import java.util.Set; >+import java.util.Map.Entry; > import java.util.concurrent.RejectedExecutionException; > > import org.eclipse.core.resources.IMarkerDelta; >@@ -34,6 +35,7 @@ > import org.eclipse.dd.dsf.concurrent.RequestMonitor; > import org.eclipse.dd.dsf.concurrent.ThreadSafe; > import org.eclipse.dd.dsf.datamodel.DMContexts; >+import org.eclipse.dd.dsf.datamodel.IDMContext; > import org.eclipse.dd.dsf.debug.internal.DsfDebugPlugin; > import org.eclipse.dd.dsf.debug.service.IBreakpoints.IBreakpointDMContext; > import org.eclipse.dd.dsf.debug.service.IBreakpoints.IBreakpointsTargetDMContext; >@@ -882,4 +884,25 @@ > } > > } >+ >+ public void findPlatformBreakpoint(IBreakpointsTargetDMContext target, >+ IBreakpointDMContext bdmc, DataRequestMonitor<IBreakpoint> dataRequestMonitor) { >+ Map<IBreakpoint, List<IBreakpoints.IBreakpointDMContext>> platformBPs = fBreakpointDMContexts >+ .get(target); >+ >+ dataRequestMonitor.setData(null); >+ if (platformBPs != null) >+ { >+ for(Entry<IBreakpoint, List<IBreakpointDMContext>> e: platformBPs.entrySet()) >+ { >+ // Stop at the first occurrence >+ if(e.getValue().contains(bdmc)) >+ { >+ dataRequestMonitor.setData(e.getKey()); >+ break; >+ } >+ } >+ } >+ dataRequestMonitor.done(); >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263001
: 124246