Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
quick:debug [2018/05/29 12:39] – pedro | quick:debug [2020/09/03 09:28] – pedro | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
# Debug Mode Quick Start Guide | # Debug Mode Quick Start Guide | ||
Line 12: | Line 13: | ||
The Behavior Bricks editor enters debug mode automatically when playing a scene in the Unity editor, substituting the `Behavior` tab of the Behavior Bricks editor with the `Debug` tab, as shown in the Figure: | The Behavior Bricks editor enters debug mode automatically when playing a scene in the Unity editor, substituting the `Behavior` tab of the Behavior Bricks editor with the `Debug` tab, as shown in the Figure: | ||
- | {{ : | + |  | - Grey when in suspended state (`Repeat` and `Priority Selector` in the Figure) | ||
- | {{ : | + | : | 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): | ||
- | {{ : | + |  of the node when the breakpoint | + | Then, in the `Node` tab, it is possible to select the event(s) triggered by the node that will make the breakpoint |
- | {{ : | + | . When the breakpoint is reached, the execution of the scene will be paused. | ||
- | ![Adding | + | A node with a breakpoint |
- | You can configure what events the breakpoint should be triggered in the `Node` tab by marking the desired events. | + | ![]( : |
- | ![Breakpoint events](images/DebugModeQuickStartGuide/ | + | </markdown> |
- | + | ||
- | In case all events are unmarked the breakpoint will be displayed as disabled with a grey color: | + | |
- | + | ||
- | ![Disabled breakpoint](images/ | + | |
- | + | ||
- | Remeber that a breakpoint can only be triggered when: | + | |
- | + | ||
- | - You are on Play Mode | + | |
- | - Behavior Bricks Editor is open | + | |
- | - A valid entity is selected | + | |
- | - The behavior that contains the node with the breakpoint attached is open, but you don´t need the behavior to be the active tab. | + | |
- | + | ||
- | ![Triggered breakpoint](images/ | + | |