Interface IProfileTarget

  • All Known Implementing Classes:
    ProfilingRuntimeDebugClientTarget

    public interface IProfileTarget
    1C:Enterprise Runtime debug profiling target. Allows to toggle target profiling on/off.
    See Also:
    IProfilingEventProcessor
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • toggleProfiling

        void toggleProfiling​(UUID uuid)
                      throws org.eclipse.debug.core.DebugException
        Switches profiling on if it's off or turns it off if it's on.
        Parameters:
        uuid - UUID of profiling session to be switched on or IDebugConstants.NULL_UUID if it is to be turned off. UUID is needed to define the profiling session and avoid mixing results of several profiling sessions.
        Throws:
        org.eclipse.debug.core.DebugException - if this method fails.
        See Also:
        IDebugConstants
      • canProfile

        boolean canProfile()
        Determines whether this target can be profiled.
        Returns:
        true if target can be profiled, false otherwise.
      • getProfiledProject

        org.eclipse.core.resources.IProject getProfiledProject​(BSLModuleIdInternal moduleId)
                                                        throws org.eclipse.core.runtime.CoreException
        Gets IProject being profiled.
        Parameters:
        moduleId - the BSL module ID to get project for, cannot be null.
        Returns:
        Profiled project or null if profiling is toggled off.
        Throws:
        org.eclipse.core.runtime.CoreException - if this method fails.