Package com._1c.g5.v8.dt.profiling.core
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canProfile()
Determines whether this target can be profiled.org.eclipse.core.resources.IProject
getProfiledProject(BSLModuleIdInternal moduleId)
Gets IProject being profiled.void
toggleProfiling(UUID uuid)
Switches profiling on if it's off or turns it off if it's on.
-
-
-
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 orIDebugConstants.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 benull
.- Returns:
- Profiled project or
null
if profiling is toggled off. - Throws:
org.eclipse.core.runtime.CoreException
- if this method fails.
-
-