Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Building a Debugger for Fluid

Ideas

  • Jira
    serverFluid Project Issue Tracker
    keyFLUID-4884
  • Present the fluid.activityTrace
  • Faceting search/filter for activities
  • Use colours to distinguish event types
  • A mechanism to navigate to the instantiator record for a component
  • An interface to explore or ask questions about the history of a component

Fluid Debug Internals

fluid.activityTrace

The fluid.activityTrace Array contains a record of activities.

There are 2 types of entries in the activityTrace:

  1. An activity record
  2. A pop entry

An activity record contains:

  • type
  • message
  • args
  • time

fluid.pushActivity() (Fluid.js)

fluid.popActivity() (Fluid.js)

fluid.activityTracing

Boolean to turn tracing on and off.

fluid.instantiator

Live IoC record.