<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2" -->

---
title: Stop Guessing at Hard Faults | daily.dev
description: CLion 2026.2.2 introduces a bundled AI skill, clion-embedded-hardfault, that lets coding agents diagnose ARM Cortex-M hard faults automatically via dedicated...
canonical: https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stop Guessing at Hard Faults | daily.dev
og:description: CLion 2026.2.2 introduces a bundled AI skill, clion-embedded-hardfault, that lets coding agents diagnose ARM Cortex-M hard faults automatically via dedicated...
og:url: https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2
og:image: https://api.daily.dev/og/posts/kVc5awXS2.png
og:image:alt: Stop Guessing at Hard Faults
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Guessing at Hard Faults

**[JetBrains](https://daily.dev/sources/jetbrains)** · 5 min read · 0 upvotes · 0 comments

## Summary

CLion 2026.2.2 introduces a bundled AI skill, clion-embedded-hardfault, that lets coding agents diagnose ARM Cortex-M hard faults automatically via dedicated MCP tooling. Instead of an agent parsing raw register dumps from shell output, the skill decodes fault status registers (CFSR, HFSR, MMFAR, BFAR), captures the hardware-stacked exception frame before it's overwritten, and pairs SVD-decoded peripheral registers with disassembly around the faulting instruction. It's vendor-agnostic, working with Lauterbach TRACE32, Segger J-Link, and ST-LINK, and is enabled by default under AI Assistant Skills settings. The skill works in AI chat and CLI mode for Claude Code and Codex, but only CLI mode for GitHub Copilot. It ships in CLion 2026.2.2 and will also land in the upcoming 2026.3 EAP.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/clion/2026/09/hard-fault-debugging>

## Questions this post answers

### What does the clion-embedded-hardfault AI skill in CLion 2026.2.2 actually do?

It lets an AI coding agent automatically find the root cause of an ARM Cortex-M hard fault instead of requiring manual register decoding. The skill activates when a debug session stops in HardFault_Handler or related handlers, decodes CFSR, HFSR, MMFAR, and BFAR registers, captures the hardware-stacked exception frame before it is overwritten, and pairs SVD-decoded peripheral registers with disassembly around the faulting instruction. It works with any debug probe, including Lauterbach TRACE32, Segger J-Link, and ST-LINK.

_Embedded developers tracking new agentic debugging capabilities like this can follow CLion updates on daily.dev._

### Which AI coding agents support CLion's hard fault debugging skill and are there limitations?

Claude Code and Codex support the hard fault debugging skill in both AI chat and CLI mode, while GitHub Copilot only supports it in CLI mode. The skill is enabled by default under Settings, Tools, AI Assistant, Skills, Bundled skills, and requires the MCP server to be enabled in Settings, Tools, MCP Server.

_Teams comparing agent support across IDEs can track these compatibility details on daily.dev._

## Similar posts on daily.dev

- [CLion 2026.2 Is Here](https://daily.dev/posts/clion-2026-2-is-here-uzu6sh4bt) · JetBrains · 2 upvotes · 0 comments
- [Improving Embedded Software Quality With Parasoft C/C\+\+test, CLion, and AI](https://daily.dev/posts/improving-embedded-software-quality-with-parasoft-c-c-test-clion-and-ai-zk5rbvfqa) · JetBrains · 0 upvotes · 0 comments
- [The CLion Roadmap: What’s Coming Between Now and Late 2026](https://daily.dev/posts/the-clion-roadmap-what-s-coming-between-now-and-late-2026-59t6uxaum) · JetBrains · 1 upvotes · 0 comments

---

Tags: [#devtools](https://daily.dev/tags/devtools), [#mcp](https://daily.dev/tags/mcp), [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stop Guessing at Hard Faults","url":"https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2"},"datePublished":"2026-09-02T13:38:53.013Z","dateModified":"2026-09-02T13:43:13.087Z","description":"CLion 2026.2.2 introduces a bundled AI skill, clion-embedded-hardfault, that lets coding agents diagnose ARM Cortex-M hard faults automatically via dedicated...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/029e72c4784059d247606fb364bada30?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/029e72c4784059d247606fb364bada30?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"JetBrains","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JetBrains","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa","url":"https://daily.dev/sources/jetbrains"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devtools,mcp,embedded","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JetBrains","item":"https://daily.dev/sources/jetbrains"},{"@type":"ListItem","position":3,"name":"Stop Guessing at Hard Faults"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/stop-guessing-at-hard-faults-kvc5awxs2#faq","mainEntity":[{"@type":"Question","name":"What does the clion-embedded-hardfault AI skill in CLion 2026.2.2 actually do?","acceptedAnswer":{"@type":"Answer","text":"It lets an AI coding agent automatically find the root cause of an ARM Cortex-M hard fault instead of requiring manual register decoding. The skill activates when a debug session stops in HardFault_Handler or related handlers, decodes CFSR, HFSR, MMFAR, and BFAR registers, captures the hardware-stacked exception frame before it is overwritten, and pairs SVD-decoded peripheral registers with disassembly around the faulting instruction. It works with any debug probe, including Lauterbach TRACE32, Segger J-Link, and ST-LINK. Embedded developers tracking new agentic debugging capabilities like this can follow CLion updates on daily.dev."}},{"@type":"Question","name":"Which AI coding agents support CLion's hard fault debugging skill and are there limitations?","acceptedAnswer":{"@type":"Answer","text":"Claude Code and Codex support the hard fault debugging skill in both AI chat and CLI mode, while GitHub Copilot only supports it in CLI mode. The skill is enabled by default under Settings, Tools, AI Assistant, Skills, Bundled skills, and requires the MCP server to be enabled in Settings, Tools, MCP Server. Teams comparing agent support across IDEs can track these compatibility details on daily.dev."}}]}
```

