Hi Eugene,

Thanks for the info on org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator.

I tried adding this to my plugin's plugin.xml (with the obvious change to account for 'my launchConfigID') and the Monitor tab still open 'empty'.

Did I add this to the wrong place?

Is there something else I can look at to narrow down what is not initialized correctly before I call ServerProfilerDelegate.configureProfiling?

Thanks,
vbk

On 07/29/09 11:59, Eugene Chan wrote:

Hi Vince,

You need to add the association of the launch configuration with the data collector defined in TPTP extension point org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator

An example here
<!-- Make the associations between the launch configurations and the data collectors -->
        <extension
point="org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator"> <!-- Apache Tomcat --> <association launchConfigID = "org.eclipse.jst.server.tomcat.core.launchConfigurationType"> <mechanism mechanismID = "org.eclipse.tptp.trace.ui.jvmpiMechanism">
                            <configuration
launchDelegate = "org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIAttachLauncherDelegate" configurationId = "org.eclipse.tptp.trace.ui.jvmpiConfiguration" associatedAgent = "org.eclipse.tptp.trace.ui.jvmpiAgent" filter = "org.eclipse.tptp.platform.profile.server.core.internal.PICollectorFiltration"> </configuration> </mechanism> <mechanism mechanismID = "org.eclipse.tptp.trace.jvmti.jvmtiMechanism">
                            <configuration
launchDelegate = "org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAttachLauncherDelegate" configurationId = "org.eclipse.tptp.trace.jvmti.tiConfiguration" associatedAgent = "org.eclipse.tptp.platform.jvmti.TIAgent" filter = "org.eclipse.tptp.platform.profile.server.core.internal.TICollectorFiltration"> </configuration> </mechanism> </association>

Please look at plugin org.eclipse.tptp.platform.profile.server.core for more information.

Regards
___________________________________________

Eugene Chan
IBM Toronto Lab, Canada


_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to