• TarantulaFudge@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      I love gdb! I recently had to do a debug and wow its so cool! On gentoo I can compile everything with symbols and source and can do a complete stack trace.

    • inetknght@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      …unless you build the executable with optimizations that remove the stack frame. Good luck debugging that sucker!

    • TangledHyphae@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Am I the only one in this thread who uses VSCode + GDB together? The inspection panes and ability to breakpoint and hover over variables to drill down in them is just great, seems like everyone should set up their own c_cpp_properties.json && tasks.json files and give it a try.