Class: Variable

Defined in: src/varobj.coffee

Overview

Class representing a target variable Should not be created directly, but by calling VariableManager#add.

Variables Summary

watchpoint =
null

Instance Method Summary

Instance Method Details

# (Disposable) onChanged(cb)

Invoke the given callback function when this variable is changed.

Returns:

  • ( Disposable ) — to unsubscribe.

# (Disposable) onDeleted(cb)

Invoke the given callback function when this variable is deleted.

Returns:

  • ( Disposable ) — to unsubscribe.

# (Promise) assign(val)

Assign a new value to this variable

Parameters:

  • val ( String ) new value

Returns:

  • ( Promise ) — resolves to new value if accepted

# (void) setWatch()

Set a watchpoint on this variable

# (void) clearWatch()

Clear the watchpoint on this variable

# (void) remove()

Remove this variable

# (void) addChildren()

Add children

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: