This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Debugging user Action code

Remember that output of any action code is normally to set/alter one or more attributes. Here are a few things learned from testing complex action & export code…

Tiny steps save time in the end—especially when things are not going as they ought.

Store results in (interim attributes. You can view attribute values in many ways other than a note window's Displayed Attributes:

Indeed, as the above do not require opening a text window, the method can be more efficient

If an initial attempt at a piece of code does not work then consider:

With regard to Export code:

A Tinderbox Reference File : Actions & Rules : Debugging user Action code