Skip to main content
Documentation v2.0
Smart Diagnostics/docs/firmware-studio/smart-diagnostics

Firmware Studio

Beta

Smart Diagnostics

Detecting errors as you type and turning compiler output into actionable messages.

On this page4 sections

Diagnostic layers

Layer When Examples
Live syntax While typing Brackets, strings, includes, setup/loop, heuristic semicolon checks.
Project preflight Before the build Board, files, libraries, GPIO, workspace.
Compiler During Verify C/C++, linker, memory, libraries, core.
Upload/runtime During flashing and in the Serial Monitor Port, timeout, brownout, watchdog.

Problems panel

  • Shows the severity, file, line, column, message, and suggestion.
  • Opens the error location at the exact token.
  • Distinguishes source errors, warnings, upload problems, and runtime problems.
  • Provides the raw log for further diagnosis.

Quick Fix

Quick Fix is only available for safe, unambiguous changes, such as adding a semicolon or fixing the format of an include. Changes are never applied unless you choose to apply them.

Limitations

Documentation feedback

Was this article helpful?

Documentation search

What do you want to learn?

Type at least two characters to search the documentation.
Code copied.