This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox 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 aren't going as they ought.

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

Indeed, as the above don't require opening a text window, the method can be more efficient

If an initial attempt at a piece of code doesn't work then consider:

With regard to Export code:


Possible relevant notes (via "Similar Notes" feature):


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