diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java index 65ff7a29747..d82220eb176 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java @@ -108,7 +108,7 @@ public class CDebugModel // Temporary if ( stopInMain ) { - ICDILocation location = cdiTarget.getSession().getSourceManager().createLocation( "", "main", 0 ); + ICDILocation location = cdiTarget.getSession().getBreakpointManager().createLocation( "", "main", 0 ); try { ICDIBreakpoint bkpt = cdiTarget.getSession().getBreakpointManager().