From 541144055f7cc33c35a8fb1a0fc15e68ec872f63 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 25 Aug 2005 20:12:44 +0000 Subject: [PATCH] Bug 106241: Argument stopInMain has no impact in method org.eclipse.cdt.debug.core.CDIDebugModel#newDebugTarget. --- debug/org.eclipse.cdt.debug.core/ChangeLog | 4 ++++ .../src/org/eclipse/cdt/debug/core/CDIDebugModel.java | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index db6addac643..cb0cc1a3119 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2005-08-25 Mikhail Khodjaiants + Bug 106241: Argument stopInMain has no impact in method org.eclipse.cdt.debug.core.CDIDebugModel#newDebugTarget. + * CDIDebugModel.java + 2005-08-25 Mikhail Khodjaiants Bug 108028: Duplicate watchpointes. * CBreakpointManager.java diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java index 3ddbd2c8f16..9e624631502 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java @@ -87,9 +87,8 @@ public class CDIDebugModel { IWorkspaceRunnable r = new IWorkspaceRunnable() { public void run( IProgressMonitor m ) throws CoreException { - boolean stop = launch.getLaunchConfiguration().getAttribute( ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false ); target[0] = new CDebugTarget( launch, project, cdiTarget, name, debuggeeProcess, file, allowTerminate, allowDisconnect ); - ((CDebugTarget)target[0]).start( stop, resumeTarget ); + ((CDebugTarget)target[0]).start( stopInMain, resumeTarget ); } }; try {