Interface IDebugServerExecutor
-
- All Superinterfaces:
IRuntimeComponentExecutor
- All Known Implementing Classes:
DebugServerExecutor
public interface IDebugServerExecutor extends IRuntimeComponentExecutor
1C:Enterprise runtime component executor for 1C:Enterprise runtime debug server. Can be used to run debug server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Process
runServer(ILaunchableRuntimeComponent debugServer, int port, Long parentPid)
Run local debug server process with this 1C:Enterprise runtime debug server component.-
Methods inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponentExecutor
needComponent
-
-
-
-
Method Detail
-
runServer
Process runServer(ILaunchableRuntimeComponent debugServer, int port, Long parentPid) throws RuntimeExecutionException
Run local debug server process with this 1C:Enterprise runtime debug server component. Launched debug server can be used for debugging.Debug server process can use
parentPid
to check state of parent process (once in second), and terminate itself, when parent is terminated.Returns started
Process
instance.- Parameters:
debugServer
- the 1C:Enterprise runtime launchable component with debug server, cannot benull
port
- the port to listen by launched debug server process, must be between0
and65535
parentPid
- the parent processpid
, can benull
, then will not be tracked- Returns:
- the launched 1C:Enterprise runtime debug server process, never
null
- Throws:
RuntimeExecutionException
- if 1C:Enterprise Runtime debug server process launch fails
-
-