Tags:

BlackBoxDebugging

Debugging

When you run Reactor with a Developer license, debugging is turned on by default. To set it on or off, use the FileMaker External function BlackBoxDebugging("Yes") or BlackBoxDebugging("No"). You should probably turn off the debugger in your startup script for end users, for better performance.

The debugger can be useful when you are integrating your BlackBox with your database, particularly if you're using overrides.

debugger.pngYou can see any log messages that the BlackBOx outputs which often can point you to an error. You can also use the Requests tab to see what Reactor sends and receives from FileMaker.

requests.png
If there is an error or a configuration problem, the BlackBox will usually print out any important information to this console.

find error.png

Debug Button


Available in the new CoreResources BlackBox is a function which provides you with a simple to implement button, which will toggle debugging on and off. This is extremely useful when developing your solution, or building a new BlackBox.

DebugButton( "hex/rgb/text colour" )