Debugging a C++ (CMake) Project in Vscode

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Quick tutorial on how to debug a C++ project built with CMake in Linux (should also work on Windows/Mac).

Комментарии • 42

  • @richjohnson8261
    @richjohnson8261 3 года назад +20

    That was exactly what I was looking for. Thanks!

  • @chadlewis4011
    @chadlewis4011 Год назад +1

    Thank you so much! Incredibly well done and incredibly helpful. I wish I had come across this tutorial sooner. Much appreciated, can't say thank you enough!

  • @user-ym4ci4rv5z
    @user-ym4ci4rv5z 4 месяца назад

    This is exactly what i needed. Thank you so much.

  • @badingamusshca8256
    @badingamusshca8256 3 месяца назад

    wow you save so much time thanks

  • @chendeng2935
    @chendeng2935 2 года назад +1

    Exactly what I was looking for. Thank you so much!

  • @_persivale_
    @_persivale_ Год назад

    Bro, we need more videos from you about vscode setup for C++. I suppose, they will be so great-explained as this one :)

  • @nahiyanalamgir7056
    @nahiyanalamgir7056 11 месяцев назад

    Thanks for sharing your knowledge and experience!

  • @user-mc9rt9eq5s
    @user-mc9rt9eq5s 3 года назад +1

    This video is just well-explained! Thanks!

  • @deepknowledge2505
    @deepknowledge2505 2 года назад

    Thank you so much, this is exactly what I was looking for.

  • @rustyelectron
    @rustyelectron Год назад

    Thanks, this was really helpful.

  • @gabrielj.9028
    @gabrielj.9028 Год назад

    just what I needed!

  • @paulkalashkov1411
    @paulkalashkov1411 2 года назад +1

    Man, you saved my day!

  • @rondolfopresilla6876
    @rondolfopresilla6876 3 месяца назад

    Thank you sire

  • @LesCanBeMore
    @LesCanBeMore 11 месяцев назад

    this is a lifesaver!

  • @ethanguillem6282
    @ethanguillem6282 3 месяца назад

    Thank you so much

  • @JaafarMahmoud7
    @JaafarMahmoud7 3 года назад +1

    That's really helpful! Thanks.

  • @internut8094
    @internut8094 3 года назад +1

    You are the best!

  • @russellquadros2948
    @russellquadros2948 2 года назад

    Brilliant! A ton of thanks to you!

  • @anurag985
    @anurag985 2 года назад

    Thank you so much for this!

  • @user-ky4dq3cx5d
    @user-ky4dq3cx5d 3 года назад +1

    Thank you

  • @djraju2
    @djraju2 2 года назад

    Very useful video, thanks!
    When u do configure from cmake do u get the intellisense also? Or something else needs to be done?

  • @ameliabuns4058
    @ameliabuns4058 Год назад

    i did the same and the app does run but it doesn't stop and i can't give the app any inputs

  • @parthdatar
    @parthdatar 2 года назад

    Thank you very much!

  • @carloseduardomayerdeolivei2913

    Thank you!

  • @RakVish
    @RakVish 3 года назад +2

    The CMake tab on the left side panel is not visible for me even though the CMake Tools Extension is enabled. I'm on Ubuntu 18.04 and using the latest build of vscode (1.56.2) if that helps.

    • @willfeng6149
      @willfeng6149 3 года назад +1

      Having the same issue. Why some extension shows up in the activity bar, and some don't? So wierd.

    • @RakVish
      @RakVish 3 года назад +2

      @@willfeng6149 I resolved the issue and posted the steps in a video. Please refer to this: ruclips.net/video/YmcewATKf0Y/видео.html

    • @willfeng6149
      @willfeng6149 3 года назад +1

      @@RakVish That explains well. Appreciate very much!

    • @RakVish
      @RakVish 3 года назад

      @@willfeng6149 No problem. Happy it help 😄.

  • @flame3303
    @flame3303 3 месяца назад

    how to setup lauch json ?

  • @rinchannow600
    @rinchannow600 2 года назад

    How to step into the library source codes when debugging?

  • @Scherbakov
    @Scherbakov 2 года назад

    Hello! When I try to debug, I get an error: "Unable to start debugging. LLDB exited unexpectedly with exit
    code 134 (0x86)." What could be the problem? (mac os 10.13.6) Thanks!

  • @jeevans3810
    @jeevans3810 3 года назад

    Hey i got fatal error : cannot open file library.lib While building. Any one help

  • @hansargentinia5028
    @hansargentinia5028 2 года назад

    I love you

  • @bktadventures2878
    @bktadventures2878 5 месяцев назад

    i cant tell if everyone knows this or if everyone is just some crackhead vim user that never debugs visually, but isnt this setup essential es hell to work with C++? Why doesnt everyone need to know this and videos like these blow up? Or is everyone just so rich they use CLion that does everything for you?

  • @icermli
    @icermli 2 года назад

    hi, what if i want to debug a program with arguments?

    • @dhidhi1000
      @dhidhi1000 2 года назад +1

      Launch.json has a field to add arguments, I would try adding there a list of strings

    • @icermli
      @icermli 2 года назад

      @@dhidhi1000 Thanks

  • @prashnikbhattacharya6542
    @prashnikbhattacharya6542 Год назад

    Cmake.. not working

  • @SantiagoRodriguez-bx6jy
    @SantiagoRodriguez-bx6jy 4 месяца назад

    Thank you so much

  • @venomdedpol1179
    @venomdedpol1179 3 года назад

    Thank you!

  • @BillyH6
    @BillyH6 4 года назад +1

    Thank you so much