Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 197297 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/tptp/platform/jvmti/client/internal/launcher/TIAttachLauncherDelegate.java (+5 lines)
Lines 28-33 Link Here
28
import org.eclipse.tptp.platform.execution.client.agent.ICollector;
28
import org.eclipse.tptp.platform.execution.client.agent.ICollector;
29
import org.eclipse.tptp.platform.execution.client.core.IAgentController;
29
import org.eclipse.tptp.platform.execution.client.core.IAgentController;
30
import org.eclipse.tptp.platform.execution.client.core.IProcess;
30
import org.eclipse.tptp.platform.execution.client.core.IProcess;
31
import org.eclipse.tptp.platform.execution.client.core.internal.AgentController;
32
import org.eclipse.tptp.platform.execution.client.core.internal.ConsoleImpl;
31
import org.eclipse.tptp.platform.execution.client.core.internal.IProcessListener;
33
import org.eclipse.tptp.platform.execution.client.core.internal.IProcessListener;
32
import org.eclipse.tptp.platform.execution.exceptions.InactiveAgentException;
34
import org.eclipse.tptp.platform.execution.exceptions.InactiveAgentException;
33
import org.eclipse.tptp.platform.execution.exceptions.InactiveProcessException;
35
import org.eclipse.tptp.platform.execution.exceptions.InactiveProcessException;
Lines 158-163 Link Here
158
		TIDelegateHelper.getInstance().sendFilters(configuration, tiAgent);
160
		TIDelegateHelper.getInstance().sendFilters(configuration, tiAgent);
159
		TIDelegateHelper.getInstance().sendOptions(configuration, agentProxy, tiAgent);
161
		TIDelegateHelper.getInstance().sendOptions(configuration, agentProxy, tiAgent);
160
162
163
		ConsoleImpl console = (ConsoleImpl) agent.getProcess().getConsole();
164
		((AgentController)agentController).addDataListener(console.getDataConnectionID(), console.getDataProcessor());
165
		
161
		boolean isEnableDataCollection = configuration == null ? true : configuration.getAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_MONITORING, true);
166
		boolean isEnableDataCollection = configuration == null ? true : configuration.getAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_MONITORING, true);
162
		if (isEnableDataCollection) {
167
		if (isEnableDataCollection) {
163
			TIDelegateHelper.getInstance().sendEnableDataCollection(configuration, tiAgent);
168
			TIDelegateHelper.getInstance().sendEnableDataCollection(configuration, tiAgent);

Return to bug 197297