Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2017-03-05 13:16:13 -0500
committerStephan Herrmann2017-03-05 13:16:13 -0500
commit1d5be3d51097bfb4bf95b7696798be9f89a9ec62 (patch)
tree910a8ac290ee4f13818ad881734c4119089fe74c
parentff722df6ef88f6291c9051f93f5e8fc55da52f27 (diff)
downloadorg.eclipse.objectteams-1d5be3d51097bfb4bf95b7696798be9f89a9ec62.tar.gz
org.eclipse.objectteams-1d5be3d51097bfb4bf95b7696798be9f89a9ec62.tar.xz
org.eclipse.objectteams-1d5be3d51097bfb4bf95b7696798be9f89a9ec62.zip
Bug 513119: [debug][performance] Avoid method breakpoints
-rw-r--r--plugins/org.eclipse.objectteams.otdt.debug/src/org/eclipse/objectteams/otdt/debug/internal/breakpoints/OOTBreakpoints.java20
1 files changed, 1 insertions, 19 deletions
diff --git a/plugins/org.eclipse.objectteams.otdt.debug/src/org/eclipse/objectteams/otdt/debug/internal/breakpoints/OOTBreakpoints.java b/plugins/org.eclipse.objectteams.otdt.debug/src/org/eclipse/objectteams/otdt/debug/internal/breakpoints/OOTBreakpoints.java
index 4c7fb3888..a76b95bab 100644
--- a/plugins/org.eclipse.objectteams.otdt.debug/src/org/eclipse/objectteams/otdt/debug/internal/breakpoints/OOTBreakpoints.java
+++ b/plugins/org.eclipse.objectteams.otdt.debug/src/org/eclipse/objectteams/otdt/debug/internal/breakpoints/OOTBreakpoints.java
@@ -112,7 +112,7 @@ public class OOTBreakpoints
{
Map<String, Boolean> finalizeMethodAttributes = getBreakpointAttributes();
finalizeMethodAttributes.put(OOTBreakpoints.ATTR_OT_BREAKPOINT_FINALIZE, Boolean.TRUE);
- return createOOTMethodBreakpoint(oot, getFinalizeMethodLineNumber(), finalizeMethodAttributes);
+ return createOOTBreakpoint(oot, getFinalizeMethodLineNumber(), finalizeMethodAttributes);
}
public static IBreakpoint createOOTActivateBreakpoint(IType oot)throws CoreException
@@ -157,24 +157,6 @@ public class OOTBreakpoints
return breakpoint;
}
-
- public static IBreakpoint createOOTMethodBreakpoint(IType oot, int linenumber, Map attributes)
- throws CoreException
- {
- IResource teamResource = oot.getJavaProject().getResource();
- IJavaBreakpoint breakpoint = JDIDebugModel.createMethodBreakpoint(
- teamResource,
- oot.getFullyQualifiedName(),
- "finalize",
- "()V",
- true /*entry*/, false /*exit*/, false /*native*/,
- linenumber,
- -1, -1, 0,
- false /*register*/,
- attributes);
- breakpoint.setPersisted(false);
- return breakpoint;
- }
public static final boolean isOOTBreakpoint(IBreakpoint breakpoint) throws CoreException
{

Back to the top