Skip to content
T

Trice

🟢 Super-fast, tiny C/C++ tracing with printf look-and-feel, even in…

by rokathFree

#2482in Developer Tools
0In stores

Description

Trice is an open source tracing and logging library for embedded C and C++ firmware, with a host tool that shows the output on a PC in real…

Highlights

  • printf-like calls with compact binary records
  • Usable inside interrupt handlers
  • IDs kept out of user code
  • Aliases for legacy logging macros
  • Host-side timestamp reconstruction
  • Real-time PC logging and plotting

Ratings & Reviews

No ratings yet

Be the first to rate Trice.

People also visit

V

VedaTrace

Simple, edge-powered logging that gives you the fix, not the bloat

Developer Tools
Launch
P

Palanteer

Visual Python and C++ nanosecond profiler, logger, tests enabler

Developer Tools
Launch
C

Cmtraceopen

Free, open-source CMTrace replacement for Windows log files: ConfigMgr/SCCM

Developer Tools
Launch
V

Venator

A desktop app for viewing logs and traces from OpenTelemetry

Developer Tools
Launch
T

Traceway

The only tool you need to know what is happening and how to fix it

Developer Tools
Launch
S

Subtrace

Network inspector for your backend

Developer Tools
Launch

Trice FAQ

What is Trice?

A tracing library for embedded C that replaces formatted printf output with compact ID-based records, decoded and displayed on a PC.

How fast is it?

The project reports record creation in as few as 6 CPU clocks per call in an optimised configuration; transmission is handled separately.

Can I log from interrupts?

Yes. Trice calls can be used directly inside interrupt handlers.

Do I have to put IDs in my code?

No. The bind feature keeps numeric IDs out of user log calls.

Can it work with my existing logging macros?

Yes. Aliases map existing logging and assert macros to Trice.

What are the best Trice alternatives?

Popular alternatives to Trice include VedaTrace, Palanteer and Cmtraceopen. See all Trice alternatives

Developer Stuff

Badges