2 Replies Latest reply on Sep 27, 2016 8:51 AM by TSGal

    FMPA 14/15 Debugger Bug: Set Next Step to Else/If

    alex_zueiv

      Product and version

      FileMaker Pro Advanced 14.0.5/15.0.1

       

      OS and version

      Mac OS X 10.11.5

       

      Description

      When I set next step in debugger to Else If or Else, FMPA then jumps to End If, and it doesn't matter if the calculation returns True or False.

       

      How to replicate

      Create the following script, and try to debug it:

       

      If [ 1 = 2 ]

      Else If [ 2 = 3 ]

      Else If [ 3 = 4 ]

      Else If [ 4 = 4 ]

      Show Custom Dialog [ "OK" ]

      Exit Script

      Else

      Show Custom Dialog [ "Also OK" ]

      Exit Script

      End If

      Show Custom Dialog [ "Error" ]

       

      Or use the test file I've attached.

       

      Workaround

      Comment all Else If steps above the one you want to debug.