Software Development with C++: Debugging with GDB

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 10

  • @thesquee1838
    @thesquee1838 Рік тому +1

    These videos are intersecting with what I am doing/learning in a way that is amazing, from MPI to C++ tools. Thanks for putting these out!

  • @Dar1gaaz
    @Dar1gaaz Рік тому +4

    also, glorious moustache my man

  • @markusbuchholz3518
    @markusbuchholz3518 Рік тому +1

    Hi Nick, your current series regarding debugging is brilliant. I enjoyed mostly sanitizer, which probably outperforms a bit Valgrind.
    I am probably bad and obsolete but frankly speaking the best way (for me) for debugging purposes is ordinary printing on the terminal (for small and big projects, and frameworks).
    Again, exceptional YT and outstanding content. You are awesome. Thank you! Have a nice day!

    • @CoffeeBeforeArch
      @CoffeeBeforeArch  Рік тому +1

      Thank you! Print-based debugging can work fine in many circumstances. The main advantages of many debuggers is that they help automatically find problems without manual instrumentation (e.g., valgrind and sanitizers), or give you a way to get the same information from manual instrumentation but w/o having to modify/recompile your code. As per -usual, many different ways to do the same job. Just depends on what works best of the specific situation/you.
      Cheers,
      --Nick

    • @markusbuchholz3518
      @markusbuchholz3518 Рік тому +1

      @@CoffeeBeforeArch Agree and support your statements. We are professionals and great to apply always correct tools, and methods.

  • @theBigNine
    @theBigNine Рік тому

    Thank you for your videos with c++ and gdb, personally it is hard for me to find channel that teach c++ using linux (or maybe I am bad at searching for this kind of stuff) and found this one is really helpful because I too use linux (linux mint) I am switching from windows last year. So thank you, Sir!

  • @nguyenduckien1477
    @nguyenduckien1477 Рік тому

    Great video. I am running in a problem can you help me? I am using clang to compile my project to lib and dll with debug symbol. I have an exe to load the lib, how can I debug the lib or dll given the exe and all the source code of dll or lib?

  • @evildragon1774
    @evildragon1774 2 місяці тому +1

    Nice video! You should be a tutor.

  • @unperrier5998
    @unperrier5998 Місяць тому

    *print* being a command and not a function, it doesn't take parentheses.
    Nice, TIL about the *commands* and how to use conditional breakpoints. thanks.