JetbrainsOleg ZinovyevAnnouncement
Webinar Recap: Agentic Debugging of Embedded Systems With CLion and TRACE32®
Summary
JetBrains and Lauterbach presented a joint webinar on integrating CLion with TRACE32 for agentic debugging of embedded systems. CLion communicates with TRACE32 via the Debug Adapter Protocol (DAP) using Lauterbach’s t32debugadapter tool. AI agents access the debugger through CLion’s built-in Model Context Protocol (MCP) server, allowing them to inspect registers and memory on actual target hardware. The demo used a four-core Infineon AURIX TC387QP board with a Lauterbach PowerDebug E50 probe, where an agent started a debug session and examined all cores. The integration is at an early stage, with instruction trace, a trace viewer, and real-time variable updates not yet available.
Context
Embedded systems developers often switch between separate tools for editing source code and debugging on target hardware. JetBrains and Lauterbach presented a joint webinar on integrating CLion with TRACE32, enabling development and debugging in a single environment and giving AI agents access to live debugger data to inspect program state and find root causes.
Approach / What changed
CLion communicates with TRACE32 via the Debug Adapter Protocol (DAP) using Lauterbach’s t32debugadapter tool, which exposes the DAP interface and connects to TRACE32 through its Remote API. CLion exposes its debugger to AI agents through a built-in Model Context Protocol (MCP) server, and agents use skills such as clion-debugger, hard fault debugging for Arm Cortex-M, and RTOS state exploration to control debug sessions on the actual target hardware.
Takeaways
CLion integrates with TRACE32 via the Debug Adapter Protocol (DAP) using Lauterbach’s t32debugadapter tool, enabling debug sessions on over 150 CPU architectures from within the IDE.
AI agents can control the CLion debugger connected to TRACE32 through the built-in Model Context Protocol (MCP) server, allowing them to inspect registers and memory on the actual target hardware.
The integration is at an early stage; instruction and data trace, a trace viewer, real-time variable updates, and direct T32 command issuance from CLion are not yet available.
FAQ
What are the licensing requirements for the integration?
The integration adds no cost on the TRACE32 side; you need the same licenses you would use with PowerView directly. The skills and MCP tools are included in CLion, which is free for non-commercial use, while commercial use requires a trial or paid license.
What features are not yet available in the integration?
Instruction and data trace, a trace viewer in CLion, real-time variable updates, and issuing T32 commands directly from CLion are not yet available. As a workaround for T32 commands, you can use PowerView in the same debug session running in the background.
Which AI agents are supported in CLion for debugging?
CLion supports agents that use the Agent Client Protocol (ACP), including Junie, Claude Code, Codex, and OpenCode, as well as any compatible internal agent your company builds. You can use your existing agent subscriptions or API keys.
Source and freshness
- Source
- blog.jetbrains.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.