Jess Debugging Functions

List of debugging functions that can be executed by Jess.


8.79. (list-function$)

Package:
Intrinsics
Arguments:
None
Returns:
Multifield
Description:
Returns a multifield list of all the functions currently callable, including intrinsics, deffunctions, and Userfunctions. Each function name is an atom. The names are sorted in alphabetical order.

8.88. (matches <lexeme-expression>)

Package:
ViewFunctions
Arguments:
One atom, a rule or query name
Returns:
TRUE
Description:
Produces an ugly printout, useful for debugging, of the contents of the left and right Rete memories of each two-input node on the given rule or query's LHS.

8.136. (show-jess-listeners)

Package:
Scriptlib
Arguments:
None
Returns:
nil
Description:
Displays all JessListeners registered with the engine to the 't' router.

8.158. (unwatch <watch-item>)

Package:
Intrinsics
Arguments:
One of the atoms all, rules, compilations, activations, facts
Returns:
Description:
Causes trace output to not be printed for the given indicator. See watch.

8.160. (view)

Package:
ViewFunctions
Arguments:
None
Returns:
TRUE
Description:
This Userfunction is included in the Jess distribution but is not normally installed. You must load it using load-package (the class name is jess.ViewFunctions). When invoked, it displays a live snapshot of the Rete network in a graphical window. See How Jess Works for details.

8.161. (watch (all | rules | compilations | activations | facts))

Package:
Intrinsics
Arguments:
One of the atoms all, rules, compilations, activations, facts activations
Returns:
TRUE
Description:
Produces additional debug output when specific events happen in Jess, depending on the argument. Any number of different watches can be active simultaneously: