playMaker

Author Topic: [SOLVED] How to debug within a state.  (Read 1757 times)

ryf9059

  • Full Member
  • ***
  • Posts: 100
[SOLVED] How to debug within a state.
« on: June 10, 2013, 12:10:19 PM »
I know I could set break point and debug state thru state, but can I debug thru those actions within a state? I created an object and assigned variables and it's not doing anything, I need to debug into a state to see what's changed.
« Last Edit: June 11, 2013, 11:17:07 AM by ryf9059 »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4003
  • Official Playmaker Support
    • LinkedIn
Re: How to debug within a state.
« Reply #1 on: June 10, 2013, 05:35:11 PM »
You can't set breakpoints on actions (maybe in a future update).

You can use the debug option in the State Inspector to see the current value of variables. There are also debug options in the Variables tab and Global Variables window.

Then there are Debug Actions that run inline with other actions. You can use these to log debug info the FSM Log or the Unity Console.

Also if you pause the game, and have Debug Flow enabled, you can click back through the Fsm Log and see variable values change....