Package org.robovm.compiler.plugin.debug
Class DebuggerLaunchPlugin
java.lang.Object
org.robovm.compiler.plugin.Plugin
org.robovm.compiler.plugin.LaunchPlugin
org.robovm.compiler.plugin.debug.DebuggerLaunchPlugin
public class DebuggerLaunchPlugin extends LaunchPlugin
- Author:
- Demyan Kimitsa
this launch plugin starts JDWP debug server in after launch phase
there is no direct reference to this class as it is picked up
from classloader.
Refer
AppCompilerto find details about LauchPlugin calls ReferConfig.loadPluginsFromClassPath()to find how configs are loaded from classloader Also corresponding entry has to be done in META-INF/services
-
Constructor Summary
Constructors Constructor Description DebuggerLaunchPlugin() -
Method Summary
Modifier and Type Method Description voidafterLaunch(Config config, LaunchParameters parameters, Process process)Called after the launch of a RoboVM applicationvoidbeforeLaunch(Config config, LaunchParameters parameters)Called before the launch of a RoboVM applicationvoidcleanup()Called when the plugin should terminatePluginArgumentsgetArguments()Returns the plugin's prefix arguments to be parsed from XML or the command linevoidlaunchFailed(Config config, LaunchParameters parameters)Called when the launch failedMethods inherited from class org.robovm.compiler.plugin.Plugin
argumentValue, argumentValue, argumentValue, parseArguments
-
Constructor Details
-
DebuggerLaunchPlugin
public DebuggerLaunchPlugin()
-
-
Method Details
-
getArguments
Description copied from class:PluginReturns the plugin's prefix arguments to be parsed from XML or the command line- Specified by:
getArgumentsin classPlugin
-
beforeLaunch
Description copied from class:LaunchPluginCalled before the launch of a RoboVM application- Specified by:
beforeLaunchin classLaunchPlugin
-
afterLaunch
Description copied from class:LaunchPluginCalled after the launch of a RoboVM application- Specified by:
afterLaunchin classLaunchPlugin
-
launchFailed
Description copied from class:LaunchPluginCalled when the launch failed- Specified by:
launchFailedin classLaunchPlugin
-
cleanup
public void cleanup()Description copied from class:LaunchPluginCalled when the plugin should terminate- Specified by:
cleanupin classLaunchPlugin
-