Debug ( )
Used to output environment data within a Show Dialog script step.
Average rating: 4.2 (38 votes) Log in to vote
Matt Petrowsky - Show more from this author
ISO FileMaker Magazine http://www.filemakermagazine.com |
Host Name = my_filemaker_server
Account = Admin
-----------------------------------
Script Param = some value
Script Result =
-----------------------------------
Last Error = 0
Last ODBC =
-----------------------------------
Layout = Customer Invoices
Layout Table = DATA_CUSTOMERS
-----------------------------------
Open Records = 0
Record Modified = 0
-----------------------------------
Active Field =
Active Field Table =
Active Layout Object =
-----------------------------------
Local time = 1/29/2008 12:17:53 PM
Host time = 1/29/2008 12:17:53 PM
-----------------------------------
$counter =
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
A very simple function which can be used while debugging scripts. Simply insert a Show Dialog within the script you are debugging and call the Debug() function to get details about the current environment.
Comments
Mike Beargie, MainSpring, Inc. Jul 7, 2017 |
||
Note that Get(LastODBCError) will fail on filemaker 15+ as it has been replaced with the Get(LastExternalErrorDetail) function. Easy fix but something of note! | ||
João Coutinho Nov 28, 2018 |
||
I add to the function "Device = " & Get ( PersistentID ) & "" & ¶ & Great help this CF. |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.