Dev Tools and Debugging
ObjectBox has tools that help during development. Learn more about looking at data inside the database and how to enable debug logs for additional information.
Last updated
ObjectBox has tools that help during development. Learn more about looking at data inside the database and how to enable debug logs for additional information.
Last updated
ObjectBox Admin is a web-app that can be used to view inside the ObjectBox database. Since it is available as a Docker container with a developer-friendly front-end script you can use it right from a developer console to get insights into your database.
Example: Using just "docker" to run ObjectBox Admin on a database on path ./myapp
:
Opening the URL http://localhost:8081
with your browser will open the ObjectBox Admin UI:
See ObjectBox Admin Documentation for further details and to download developer-friendly front-end launcher shell script.
ObjectBox includes a logging facility for tracing, amongst others, transaction operations. The following C++ code below gives an example how to enable logging for transactions at the info level.
A sample output of the debug log is given below:
See C API Documentation of OBXDebugFlag for a list of available debug flags.
ObjectBox also offers a DebugLog which gives insights at a very detail level. This is typically not used by an application end-user but might be helpful when things go wrong or when developing improvements, enhancements and features. This feature is not available in the public release but on request.