commit | 16a08d67dc6521fabda5bb66213a54f7155737e2 | [log] [tgz] |
---|---|---|
author | Stephan Herrmann <stephan.herrmann@berlin.de> | Tue May 10 14:33:56 2016 +0200 |
committer | Stephan Herrmann <stephan.herrmann@berlin.de> | Tue May 10 14:33:56 2016 +0200 |
tree | 097a86fafab377fd8b4cd8e677abdcc322b7662c | |
parent | 975cf7524957af336191f9c8b5244a6108858ef7 [diff] |
Bug 462785: [otdre][debug] automatically select weaver when launching - initialize weavingMode also in mode "run"
diff --git a/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/PDELaunchingAdaptor.java b/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/PDELaunchingAdaptor.java index 57fb1d3..52b9e7b 100644 --- a/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/PDELaunchingAdaptor.java +++ b/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/PDELaunchingAdaptor.java
@@ -162,10 +162,11 @@ void prepareLaunch(ILaunchConfiguration configuration, String mode) throws DebugException { this.mode = mode; - if (isOTLaunch(configuration) && ILaunchManager.DEBUG_MODE.equals(mode)) + if (isOTLaunch(configuration)) try { IProject[] projects = getProjectsForProblemSearch(configuration, mode); - PDELaunchingAdaptor.installOOTBreakpoints(projects); + if (ILaunchManager.DEBUG_MODE.equals(mode)) + PDELaunchingAdaptor.installOOTBreakpoints(projects); determineWeavingMode(projects); } catch (DebugException dex) { throw dex;