Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
quick:debug [2018/05/29 11:35] pedroquick:debug [2018/05/29 12:39] pedro
Line 37: Line 37:
 While in debug mode it is possible to inspect the value of the parameters of a running tree or the parameters of a particular node in a running tree. The `Blackboard` tab shows the parameters of the selected tree in a given entity (previously selected in the `Debug` tab): While in debug mode it is possible to inspect the value of the parameters of a running tree or the parameters of a particular node in a running tree. The `Blackboard` tab shows the parameters of the selected tree in a given entity (previously selected in the `Debug` tab):
  
-{{ :images:debug:watch_blackboard.png }}+{{ :images:debug:watch_node.png }}
  
 and for a running tree, by clicking on one of its node it is possible to inspect the node parameters: and for a running tree, by clicking on one of its node it is possible to inspect the node parameters:
  
-{{ :images:debug:watch_node.png }}+{{ :images:debug:watch_blackboard.png }} 
 + 
 +### Breakpoints 
 + 
 +Behavior Bricks also features a simple type of breakpoint that allows to pause the execution of the scene whenever a given condition is reach in a particular node of a behavior tree in a given entity.
  
 +In order to set a breakpoint you just need to right click in a node and select `Add Breakpoint`, and this can be done while in edit or play mode of the Unity editor:
  
 +{{ :images:debug:breakpoint_add.png }}
  
-With this feature you can pause the execution of the game when a node for a concrete behavior tree of a specific entity reach one of the following states:+Then, it is possible to select the state(s) of the node when the breakpoint will have effect:
  
-- Success +{{ :images:debug:breakpoint.png }}
-- Failed +
-- Aborted +
-- Launched+
  
-To add a breakpoint you just need to right click in a node and select `Add Breakpoint`: 
  
 ![Adding a breakpoint](images/DebugModeQuickStartGuide/AddBreakpoint.PNG "Adding a breakpoint") ![Adding a breakpoint](images/DebugModeQuickStartGuide/AddBreakpoint.PNG "Adding a breakpoint")