# C\+\+26\: The New Debugging Header


## HN discussion

Based on 9 selected comments and replies.

Commenters debated both the design of the proposed breakpoint facility and the article's provenance. amluto argues that the rationale for emitting a single x86 INT3 is flawed, because int3 is a trap and many debuggers use the saved address pointing to the next instruction, so the apparent stop lands after the breakpoint. tux3 counters that this should rarely happen inside a C++ function and calls it a fixable debugger usability issue rather than a reason to insert NOPs. singron cites a Pangram assessment that the last two-thirds of the post are AI-generated, while Maxatar says it is well established that the blog is LLM-generated and that the cpp subreddit recently banned it. Separately, 1over137 wants the C and C++ standards committees to survey open-source practice before standardizing platform-specific behavior, and eklitzke says that in the rare cases he needs this he writes raise&#40;SIGTRAP&#41;, which is portable across Unixes.

Selected comments: [amluto](https://news.ycombinator.com/item?id=50124137) · [tux3](https://news.ycombinator.com/item?id=50125844) · [singron](https://news.ycombinator.com/item?id=50126633) · [Maxatar](https://news.ycombinator.com/item?id=50126788) · [1over137](https://news.ycombinator.com/item?id=50127767) · [eklitzke](https://news.ycombinator.com/item?id=50127403)

[Read the full HN discussion](<https://news.ycombinator.com/item?id=50122736>)
