playMaker

Author Topic: Try catch In Playmaker  (Read 2143 times)

play_edu

  • Full Member
  • ***
  • Posts: 116
Try catch In Playmaker
« on: May 04, 2016, 06:08:05 AM »
Hi,

Is There Any  Way To get Any Console Err Display as MSG Box Or Function Like
try catch.

How To Know if there is Any Err coming after build.

Best Wishes,
Play_edu

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Try catch In Playmaker
« Reply #1 on: May 05, 2016, 02:01:32 AM »
Hi,

 Try catch is only something one can build within a single piece of code, it can not be spreaded into actions( One to try, one to catch).

Is it a general question or are you trying to debug something specific?

Bye,

 Jean

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: Try catch In Playmaker [SOLVED]
« Reply #2 on: May 05, 2016, 02:31:43 AM »
Hi,
Thanks For Replay,

I'm using sqlite kit. When SQ Lite Execute search Query There is Three Event send.
1. On Step If I get result,
2.Finish And
3.Err(When i get some Query related Err ) But some Time is there any other Err it's Not Fired any event and stop on Fsm And Do Nothing.
But any Way I Get solution.

Thanks.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Try catch In Playmaker
« Reply #3 on: May 05, 2016, 02:42:12 AM »
Hi,

 Then the action itself should implement an error checking and fire a PlayMaker event and fill out a FsmString with the error so that you can catch it in your fsm logic.

I would contact the author to see if he can make these mods ( it's trivial)

Let me know if he's not available, I can have a look and edit the action.

Bye,

 Jean
 

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: Try catch In Playmaker[SOLVED]
« Reply #4 on: May 05, 2016, 04:27:25 AM »
Hi,
Thanks Jean.

I Already Done With sqlitekit  And Customize one  script and it's Work.
Thanks For Your Quick Replay.

Best Regards;
Play_edu