|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.Extension
de.enough.polish.emulator.Debugger
public abstract class Debugger
Connects the emulator to a debugger.
Copyright Enough Software 2005
history
27-Oct-2005 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.Extension |
|---|
antProject, autoStartCondition, environment, extensionDefinition, extensionManager, extensionSetting, extensionTypeDefinition, isBuildStarted |
| Constructor Summary | |
|---|---|
Debugger()
Creates a new debugger. |
|
| Method Summary | |
|---|---|
void |
addDebugArguments(Environment env,
List argsList)
Adds the debugging settings to the arguments list. |
abstract void |
connectDebugger(int port,
Device device,
Locale locale,
Environment env)
Connects to a debugger interface. |
void |
execute(Device device,
Locale locale,
Environment env)
Executes this extension. |
String |
getXRunJdwpCommandLine(DebuggerSetting setting)
|
| Methods inherited from class de.enough.polish.Extension |
|---|
configure, executeAntTarget, executeAntTarget, finalize, getAntProject, getAutoStartCondition, getEnvironment, getExtensionDefinition, getExtensionSetting, getInstance, getParameterValue, getType, init, initialize, isConditionFulfilled, notifyBuildEnd, notifyBuildStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Debugger()
| Method Detail |
|---|
public void execute(Device device,
Locale locale,
Environment env)
throws BuildException
Extension
execute in class Extensiondevice - the current devicelocale - the current locale, can be nullenv - the environment/configuration
BuildException - when the execution failed
public abstract void connectDebugger(int port,
Device device,
Locale locale,
Environment env)
port - the port in which the emulator listensdevice - the current devicelocale - the current localeenv - the environment
public void addDebugArguments(Environment env,
List argsList)
<capability
name="polish.debug.commandline"
value="-Xdebug;;-Xrunjdwp:address=${polish.debug.port},transport=dt_socket,server=y,suspend=n"
/>
env - the environment settings.argsList - the arguments listpublic String getXRunJdwpCommandLine(DebuggerSetting setting)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||