Better HN
topnewbestaskshowjobs
Log inSign up

Spongman

3 karma · joined Oct 3, 2023 (3y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

not in the source code, in the debugger UI (callstack, watch/locals, etc...)

comment 1y ago · link · parent

most GUI debuggers are just a front for gdb, and have all the issues he's talking about in the article.

comment 3y ago · link · parent

gcc will give a warning for this.

  <source>:6:17: note: ...this statement, but the latter is 
  misleadingly indented as if it were guarded by the 'if'
      6 |                 launch_missile();
        |                 ^~~~~~~~~~~~~~
https://godbolt.org/z/cYqhhqz47