Package ghidra.debug.api.tracemgr
Class DebuggerCoordinates
java.lang.Object
ghidra.debug.api.tracemgr.DebuggerCoordinates
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DebuggerCoordinatesCoordinates that indicate no trace is active in the Debugger UI. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the given coordinates are the same as this but with an extra or differing patch.booleanstatic booleanframe(int newFrame) protected static DomainFilegetDomainFile(PluginTool tool, SaveState coordState) intgetFrame()getPath()longgetSnap()getTime()getTrace()getView()longinthashCode()booleanisAlive()static booleanbooleanstatic booleanisAliveAndPresent(TraceProgramView view, Target target) booleanbooleanprotected booleanprotected booleanbooleanisRegisterSpace(AddressSpace space) object(TraceObject newObject) pathNonCanonical(KeyPath newPath) platform(TracePlatform newPlatform) static DebuggerCoordinatesreadDataState(PluginTool tool, SaveState saveState, String key) protected static IntegerresolveFrame(Target target, KeyPath objectPath) protected static TraceThreadresolveThread(Target target, KeyPath objectPath) snap(long snap) Get these same coordinates with time replaced by the given snap-only schedulesnapNoResolve(long snap) Get these same coordinates with time replace by the given snap-only schedule, and DO NOT resolve or adjust anything elsethread(TraceThread newThread) time(TraceSchedule newTime) Get these same coordinates with time replaced by the given scheduletoString()view(TraceProgramView newView) voidwriteDataState(PluginTool tool, SaveState saveState, String key)
-
Field Details
-
NOWHERE
Coordinates that indicate no trace is active in the Debugger UI.Typically, that only happens when no trace is open. Telling the trace manager to activate
NOWHEREwill cause it to instead activate the most recently active trace, which may very well be the current trace, resulting in no change. Internally, the trace manager will activateNOWHEREwhenever the current trace is closed, effectively activating the most recent trace other than the one just closed.
-
-
Method Details
-
equalsIgnoreTargetAndView
-
toString
-
equals
-
hashCode
public int hashCode() -
trace
-
platform
-
target
-
reFindThread
-
thread
-
snap
Get these same coordinates with time replaced by the given snap-only schedule- Parameters:
snap- the new snap- Returns:
- the new coordinates
-
snapNoResolve
Get these same coordinates with time replace by the given snap-only schedule, and DO NOT resolve or adjust anything else- Parameters:
snap- the new snap- Returns:
- exactly these same coordinates with the snap/time changed
-
time
Get these same coordinates with time replaced by the given schedule- Parameters:
newTime- the new schedule- Returns:
- the new coordinates
-
differsOnlyByPatch
Checks if the given coordinates are the same as this but with an extra or differing patch.- Parameters:
that- the other coordinates- Returns:
- true if the difference is only in the final patch step
-
frame
-
frame
-
view
-
path
-
pathNonCanonical
-
resolveThread
-
resolveFrame
-
object
-
getTrace
-
getPlatform
-
getLanguage
-
getTarget
-
getThread
-
getView
-
getSnap
public long getSnap() -
getTime
-
getFrame
public int getFrame() -
getPath
-
getObject
-
getRegisterContainer
-
isRegisterSpace
-
getViewSnap
public long getViewSnap() -
writeDataState
-
getDomainFile
-
readDataState
-
isAlive
-
isAlive
public boolean isAlive() -
isAliveAndPresent
-
isPresent
protected boolean isPresent() -
isReadsPresent
protected boolean isReadsPresent() -
isAliveAndPresent
public boolean isAliveAndPresent() -
isDeadOrPresent
public boolean isDeadOrPresent() -
isAliveAndReadsPresent
public boolean isAliveAndReadsPresent()
-