version 2/080503 by Nate Cull
Section - Debugging Verbs - Not for release
To decide if debugging planner:
if planner verbosity is 1, decide yes;
Enabling the planner verbosity is an action out of world.
Understand "plans on" as enabling the planner verbosity.
Understand "plans" as enabling the planner verbosity.
Carry out enabling the planner verbosity:
say "Planner will now show debugging messages. Type 'plans off' to run silently, or 'plans list' to show the current planning table.";
change the planner verbosity to 1;
Disabling the planner verbosity is an action out of world.
Understand "plans off" as disabling the planner verbosity.
Carry out disabling the planner verbosity:
say "Planner will now run silently.";
change the planner verbosity to 0;
Dumping the planner table is an action out of world.
Understand "plans list" as dumping the planner table.
Carry out dumping the planner table:
let G be 0;
repeat through the Table of Goals begin;
increase G by 1;
say "Goal [G] (parent [the Parent entry] plan [the Plan entry] step [the Step entry]): [the Token entry] / [the Param1 entry] / [the Param2 entry][line break]";
Planner ends here.