Package

cogx.runtime

debugger

Permalink

package debugger

This package contains classes that make debugging easier for the user. They are mainly used, indirectly, by the Cog debugger.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. debugger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class ProbedCircuit extends Circuit[ProbedField]

    Permalink

    An optimized computation with a simple interface, primarily intended for writing debuggers.

    An optimized computation with a simple interface, primarily intended for writing debuggers. The structure of the circuit can be analyzed using the inherited Circuit methods.

    While the KernelCircuit has been moved to the Hypercircuit/Hypernode classes to support multi-output kernels, this class still uses Circuit/Node. Thus, it is not set up yet for probing of multi-output kernels.

  2. class ProbedField extends Node[ProbedField]

    Permalink

    A field in a ComputeGraph that is visible for debugging.

Value Members

  1. object UserFieldNames

    Permalink

    Scans a tree of objects looking for Field instances and array of instances and binds the user's 'field' name (discovered through reflection) to that Field.

    Scans a tree of objects looking for Field instances and array of instances and binds the user's 'field' name (discovered through reflection) to that Field.

    There is a name conflict here since Field in Cog means something different from Field in Scala. I'll use 'field' to refer to a Scala field and Field to refer to a Cog field. The idea is that user Fields which have been declared as val fields can be detected at runtime through reflection, and the user's name for field can be bound to the Field. This is useful for debuggers since it allows them to display Fields with a user's programmatic name.

Inherited from AnyRef

Inherited from Any

Ungrouped