Community
Participate
Working Groups
tiAgent.run();
if (!isEnableDataCollection) {
setPausedState(agentProxy);
setPausedState(tiAgentProxy);
}
return trcAgentProxy;
public void sendEnableDataCollection(ILaunchConfiguration configuration,
ICollector tiAgent) {
String cmd = new String("<EnableDataCollection iid=\"org.eclipse.tptp.jvmti\"></enableDataCollection>");
Exception error = null;
String cmd = new String("<EnableDataCollection iid=\"org.eclipse.tptp.jvmti\"></EnableDataCollection>");
boolean isEnableDataCollection = true;
if (configuration != null) {
try {
tiAgent.sendCommand(cmd, NOOP_COMMAND_HANDLER);
} catch (InactiveAgentException e) {
// TODO Auto-generated catch block
error = e;
e.printStackTrace();
} catch (NotConnectedException e) {
if (error != null) {
LauncherUtility.openErrorWithDetail(LauncherMessages.LAUNCHER_COMMON_ERROR_TITLE, TIMessages.ERROR_TI_AGENT_FILTERS, error);
return;