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