mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 09:45:39 +02:00
minor. wrong cathcpoint type specified, but catchpoint creation is supposed to fail in this case anyway.
This commit is contained in:
parent
df81d1f40e
commit
7c92312b57
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ import java.util.ListIterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||||
import org.eclipse.cdt.debug.core.model.ICEventBreakpoint;
|
|
||||||
import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor;
|
import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor;
|
||||||
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
|
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
|
||||||
import org.eclipse.cdt.dsf.datamodel.IDMContext;
|
import org.eclipse.cdt.dsf.datamodel.IDMContext;
|
||||||
|
@ -570,7 +569,7 @@ public class MICatchpointsTest extends BaseTestCase {
|
||||||
// Attempt to create a catchpoint with an invalid execution context (should fail)
|
// Attempt to create a catchpoint with an invalid execution context (should fail)
|
||||||
Map<String, Object> breakpoint = new HashMap<String, Object>();
|
Map<String, Object> breakpoint = new HashMap<String, Object>();
|
||||||
breakpoint.put(MIBreakpoints.BREAKPOINT_TYPE, MIBreakpoints.CATCHPOINT);
|
breakpoint.put(MIBreakpoints.BREAKPOINT_TYPE, MIBreakpoints.CATCHPOINT);
|
||||||
breakpoint.put(MIBreakpoints.CATCHPOINT_TYPE, ICEventBreakpoint.EVENT_TYPE_THROW);
|
breakpoint.put(MIBreakpoints.CATCHPOINT_TYPE, "throw");
|
||||||
insertBreakpoint(null, breakpoint);
|
insertBreakpoint(null, breakpoint);
|
||||||
|
|
||||||
// Ensure it failed
|
// Ensure it failed
|
||||||
|
|
Loading…
Add table
Reference in a new issue