diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index 46d14ad4862..4c060152481 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -1,3 +1,6 @@ +2004-11-09 Alain Magloire + Throw not implemented exception for exception breakpoint + 2004-11-09 Alain Magloire Reverting the changes below, for PR 74496. After exchanging with the Palm folks, it was not fixing the problem. diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/CdiResources.properties b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/CdiResources.properties index e5bba7b56f0..838088b2462 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/CdiResources.properties +++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/CdiResources.properties @@ -10,6 +10,7 @@ ############################################################################### cdi.Common.No_answer=No answer +cdi.Common.Not_implemented=Not Implemented cdi.SourceManager.Unknown_type=Unknown type cdi.RegisterManager.Wrong_register_type=Wrong register type cdi.BreakpointManager.Not_a_CDT_breakpoint=Not a CDT breakpoint diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java index 922089272fb..1cbeb47d0de 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java +++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java @@ -18,6 +18,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.ICDICondition; import org.eclipse.cdt.debug.core.cdi.ICDILocation; import org.eclipse.cdt.debug.core.cdi.model.ICDIBreakpoint; +import org.eclipse.cdt.debug.core.cdi.model.ICDIExceptionpoint; import org.eclipse.cdt.debug.core.cdi.model.ICDIExpression; import org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction; import org.eclipse.cdt.debug.core.cdi.model.ICDILocationBreakpoint; @@ -734,10 +735,10 @@ public class Target extends SessionObject implements ICDITarget { bMgr.deleteAllBreakpoints(this); } -// public ICDIExceptionBreakpoint setExceptionBreakpoint(String clazz, boolean stopOnThrow, boolean stopOnCatch) -// throws CDIException { -// throw new CDIException("Not Implemented"); //$NON-NLS-1$ -//} + public ICDIExceptionpoint setExceptionBreakpoint(String clazz, boolean stopOnThrow, boolean stopOnCatch) + throws CDIException { + throw new CDIException(CdiResources.getString("cdi.Common.Not_implemented")); //$NON-NLS-1$ + } /* * @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#createCondition(int, java.lang.String, String)