Skip to content
CARP Docs
Ask AISystemLightDark
On this page

Built-in tools

Reference for the tools that ship with carp_debug_flutter.

Copy MarkdownOpen inOpen in GitHubView as MarkdownOpen in Scira AIOpen in ChatGPTOpen in ClaudeOpen in Cursor

A tool appears only when it has something to show: the Environment tool needs registered launch arguments, and one Shared Preferences or Database tool is added per configured data source. An empty DebugToolkitConfig still shows the Device & App and Logs & Errors tools.

ToolShown when
Environment & ServersLaunch arguments are registered
Shared PreferencesOne per configured key/value store
DatabaseOne per configured database
Device & AppBy default, even with an empty config
Logs & ErrorsBy default, even with an empty config

Environment and servers

Edits launch-argument overrides, grouped by group. Each row shows the effective value, the underlying key, and an overridden badge when the value differs from the compile-time default.

  • Revert clears a single override.
  • Reset all in the app bar clears all overrides.
  • Apply in the bottom bar runs your onApply hook to reconfigure the app live.
  • Restart app in the bottom bar relaunches the app.

See Environment and servers for the full guide.

Shared preferences

  • Inspect and search: lists every visible key with its runtime type and value; filter by key.
  • Edit and add: type-aware editor for String, bool, int, double and List<String>.
  • Delete: per-key delete (with confirmation) and "clear all".
  • CARP session data: the CARP user, participant and study are stored here, so you can inspect or wipe them.

Database

Browses the configured sembast stores, each with a live record count. Open a store to list its records, tap a record to view its full value, and delete individual records or clear a whole store.

Device and app

Read-only metadata:

GroupFields
ApplicationName, package ID, version, build number
DevicePlatform, OS version, model, device name, physical device or simulator
DisplayScreen size, pixel ratio, text scale, brightness

Logs and errors

A ring buffer that captures debugPrint output, framework errors (FlutterError.onError) and uncaught async errors (PlatformDispatcher.onError), so you can review what happened even after a screen has crashed.

Note

Capture is non-destructive: the previously installed debugPrint and error handlers are always invoked, so console logging and crash reporting keep working. Disable capture with DebugToolkitConfig(captureLogs: false).

Quick links

Page · DocumentationCARP DocumentationPage · DocumentationIntroductionPage · DocumentationQuickstartPage · DocumentationTerminologyPage · DocumentationArchitecture