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 62173 Details for
Bug 179611
Breakpoints lost when JSP file saved
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
jsp-bp.patch (text/plain), 1.78 KB, created by
Darin Wright
on 2007-03-27 22:13:27 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Darin Wright
Created:
2007-03-27 22:13:27 EDT
Size:
1.78 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.debug.ui >Index: ui/org/eclipse/jdt/internal/debug/ui/BreakpointMarkerUpdater.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/BreakpointMarkerUpdater.java,v >retrieving revision 1.2 >diff -u -r1.2 BreakpointMarkerUpdater.java >--- ui/org/eclipse/jdt/internal/debug/ui/BreakpointMarkerUpdater.java 24 Aug 2006 15:19:30 -0000 1.2 >+++ ui/org/eclipse/jdt/internal/debug/ui/BreakpointMarkerUpdater.java 28 Mar 2007 02:12:05 -0000 >@@ -12,9 +12,14 @@ > > import org.eclipse.core.resources.IMarker; > import org.eclipse.core.runtime.CoreException; >+import org.eclipse.debug.core.DebugPlugin; >+import org.eclipse.debug.core.IBreakpointManager; >+import org.eclipse.debug.core.model.IBreakpoint; > import org.eclipse.jdt.core.dom.AST; > import org.eclipse.jdt.core.dom.ASTParser; > import org.eclipse.jdt.core.dom.CompilationUnit; >+import org.eclipse.jdt.debug.core.IJavaPatternBreakpoint; >+import org.eclipse.jdt.debug.core.IJavaStratumLineBreakpoint; > import org.eclipse.jdt.internal.debug.ui.actions.ValidBreakpointLocationLocator; > import org.eclipse.jface.text.BadLocationException; > import org.eclipse.jface.text.IDocument; >@@ -68,6 +73,11 @@ > if(position.isDeleted()) { > return false; > } >+ IBreakpointManager manager = DebugPlugin.getDefault().getBreakpointManager(); >+ IBreakpoint breakpoint = manager.getBreakpoint(marker); >+ if (breakpoint instanceof IJavaStratumLineBreakpoint || breakpoint instanceof IJavaPatternBreakpoint) { >+ return true; >+ } > ASTParser parser = ASTParser.newParser(AST.JLS3); > parser.setSource(document.get().toCharArray()); > CompilationUnit unit = (CompilationUnit) parser.createAST(null);
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 179611
: 62173