From d3b1b81ecd3409a34636463819edf63824caed15 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Fri, 30 Aug 2002 04:54:00 +0000 Subject: [PATCH] Use the breakpointManager for createLocation() --- .../src/org/eclipse/cdt/debug/core/CDebugModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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().