Interface IDalvikDebuggerUnit
- All Superinterfaces:
IAddressableUnit,IDebuggerUnit,IEventSource,IInteractiveUnit,IUnit,IUnitCreator,IUserDataSupport
Specialized interface for Dalvik code debuggers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSlot index mode of a thread-frame. -
Method Summary
Modifier and TypeMethodDescriptionGet the JDWP protocol version used by the target.Get the associated native debugger, when available.intGet the Android API level of the debug target.Get the thread-frame slot indexing mode.setBreakpointOnBytecode(String msig, int offsetInMethod) setBreakpointOnException(String tsig, boolean triggerOnCaughtExceptions, boolean triggerOnUncaughtExceptions, boolean triggerOnSubtypes) setBreakpointOnField(String fsig, boolean triggerOnFieldRead, boolean triggerOnFieldWrite) setBreakpointOnMethod(String msig, boolean triggerOnMethodEntry, boolean triggerOnMethodExit) voidSet the thread-frame slot indexing mode.Methods inherited from interface com.pnfsoftware.jeb.core.units.IAddressableUnit
getAddressLabel, getAddressLabels, getAddressOfItem, getCanonicalAddress, getItemAtAddress, getItemObject, getRelatedItems, getWellKnownAddresses, isValidAddress, normalizeAddressMethods inherited from interface com.pnfsoftware.jeb.core.units.code.debug.IDebuggerUnit
attach, canPerformOperation, clearBreakpoint, clearBreakpoints, convertSymbolicAddressToMemoryToAddress, convertToUnitAddress, detach, getBreakpoint, getBreakpoints, getDefaultThread, getModules, getPotentialDebuggees, getSuspendPolicy, getTargetApplication, getTargetEnumerator, getTargetInformation, getThreadById, getThreads, hasDefaultThread, isAttached, isPaused, isPaused, pause, registerDebuggee, restart, run, setBreakpoint, setBreakpoint, setDefaultThread, setSuspendPolicy, terminate, unregisterDebuggeeMethods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSourceMethods inherited from interface com.pnfsoftware.jeb.core.units.IInteractiveUnit
addressToLocation, canExecuteAction, executeAction, executeAction, getAddressActions, getCommentManager, getFullComment, getFullComments, getGlobalActions, getInlineComment, getInlineComments, getItemActions, getMetadataManager, locationToAddress, prepareExecution, setInlineCommentMethods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, execprvfunc, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, getInput, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getParentArtifact, getParentProject, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, initializePropertyObjects, isDisposed, isProcessed, isStale, isTransientChild, notifyGenericChange, postDeserialization, process, removeChild, setName, setNotes, setParent, setRealName, setUnitProcessorMethods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Method Details
-
getTargetApiLevel
int getTargetApiLevel()Get the Android API level of the debug target.- Returns:
- the target API level
-
getJDWPProtocolVersion
Version getJDWPProtocolVersion()Get the JDWP protocol version used by the target.- Returns:
- the JDWP protocol version
-
setThreadFrameSlotIndexMode
Set the thread-frame slot indexing mode.- Parameters:
mode- slot indexing mode
-
getThreadFrameSlotIndexMode
IDalvikDebuggerUnit.ThreadFrameSlotIndexMode getThreadFrameSlotIndexMode()Get the thread-frame slot indexing mode.- Returns:
- the slot indexing mode
-
getNativeDebugger
INativeDebuggerUnit getNativeDebugger()Get the associated native debugger, when available.- Returns:
- may be null
-
setBreakpointOnField
IDebuggerBreakpoint setBreakpointOnField(String fsig, boolean triggerOnFieldRead, boolean triggerOnFieldWrite) -
setBreakpointOnException
IDebuggerBreakpoint setBreakpointOnException(String tsig, boolean triggerOnCaughtExceptions, boolean triggerOnUncaughtExceptions, boolean triggerOnSubtypes) -
setBreakpointOnMethod
IDebuggerBreakpoint setBreakpointOnMethod(String msig, boolean triggerOnMethodEntry, boolean triggerOnMethodExit) -
setBreakpointOnBytecode
-