Interface TraceSpaceMixin

All Known Subinterfaces:
DBTraceSpaceBased
All Known Implementing Classes:
AbstractDBTraceProgramViewListing.DBTraceProgramViewUndefinedData, AbstractDBTracePropertyMap.DBTracePropertyMapSpace, DBTraceAddressSnapRangePropertyMapSpace, DBTraceBookmarkSpace, DBTraceCodeSpace, DBTraceDataSettingsAdapter.DBTraceDataSettingsSpace, DBTraceEquateSpace, DBTraceLabelSymbol, DBTraceMemorySpace, DBTraceReferenceSpace, DBTraceRegisterContextSpace, UndefinedDBTraceData

public interface TraceSpaceMixin
Add conveniences for getting the thread and frame level, if applicable, from an object's address space.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the object's address space
    default int
    Get the frame level denoted by the object's address space
    default TraceThread
    Get the thread denoted by the object's address space
    Get the trace containing the object
  • Method Details

    • getTrace

      Trace getTrace()
      Get the trace containing the object
      Returns:
      the trace
    • getAddressSpace

      AddressSpace getAddressSpace()
      Get the object's address space
      Returns:
      the address space
    • getThread

      default TraceThread getThread()
      Get the thread denoted by the object's address space
      Returns:
      the thread
    • getFrameLevel

      default int getFrameLevel()
      Get the frame level denoted by the object's address space

      Note this will return 0 if the frame level is not applicable. This is the same as the innermost frame level when it is applicable. To distinguish whether or not a 0 return value is applicable, you must examine the path or schema.

      Returns:
      the level or 0