Class DebugServerExecutor
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.DebugServerExecutor
-
- All Implemented Interfaces:
IDebugServerExecutor
,IRuntimeComponentExecutor
public class DebugServerExecutor extends AbstractRuntimeComponentExecutor implements IDebugServerExecutor
Implementation ofIDebugServerExecutor
.
-
-
Constructor Summary
Constructors Constructor Description DebugServerExecutor()
-
Method Summary
All Methods Instance Methods Concrete 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 class com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor
appendClientArguments, appendExtensionCustomization, appendInfobaseAccess, appendRuntimeClientArguments, createTempFile, executeRuntimeProcessCommand, needComponent, readRuntimeLog, splitInfobaseConnection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponentExecutor
needComponent
-
-
-
-
Method Detail
-
runServer
public Process runServer(ILaunchableRuntimeComponent debugServer, int port, Long parentPid) throws RuntimeExecutionException
Description copied from interface:IDebugServerExecutor
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.- Specified by:
runServer
in interfaceIDebugServerExecutor
- 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
-
-