Package ghidra.app.services

# Interface DebuggerWatchesService

public interface DebuggerWatchesService
A service interface for controlling the Watches window

- ## Method Summary

  Modifier and Type
  Method
  Description
  `WatchRow`
  `addWatch(String expression)`
  Add a watch
  `Collection<WatchRow>`
  `getWatches()`
  Get the current watches
  `void`
  `removeWatch(WatchRow watch)`
  Remove a watch

- ## Method Details

  - ### addWatch

    WatchRow addWatch(String expression)
    Add a watch
    Parameters:
      `expression` - the Sleigh expression
    Returns:
      the new row

  - ### removeWatch

    void removeWatch(WatchRow watch)
    Remove a watch
    Parameters:
      `watch` - the row to remove

  - ### getWatches

    Collection<WatchRow> getWatches()
    Get the current watches
    Returns:
      the unmodifiable collection of watches