Debugging C++ Program in Visual Studio Code (VSCode)

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

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

  • @tomeck.y2239
    @tomeck.y2239 Год назад +73

    Preparing debug configuration starts from 8:30

  • @Fidzz-sipalingmeme
    @Fidzz-sipalingmeme Месяц назад

    Note for my fellas, if your problem is g++, gdb, or gcc. Check again if you already installed them, using command prompt, and here the command to check if your g++,gcc, and gd are installed:
    g++ --version
    gdb --version
    gcc -- version
    And yea this command is to make sure they're installed and this method work for me.

  • @Paivren
    @Paivren Год назад +45

    None of this works. You need to explan how to to properly set up the .json files. You only explain the easy part.

    • @viveksaini1304
      @viveksaini1304 Год назад +3

      Same problem bro

    • @naftalemdaniel762
      @naftalemdaniel762 Год назад +2

      Bro is done 😂

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

      Mine just work fine. But I am using Pop_OS instead of Windows OS.

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

      sometimes the gcc will be set as default, you need to change it to g++ as shown in video. check it once again in your pc.

    • @riodak6243
      @riodak6243 10 месяцев назад

      Did you find any solution

  • @omleen3187
    @omleen3187 Год назад +4

    Your explanation is awesome! Thank you so much!

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

    Thank you so Much. It is very helpful

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

    thank you it's run 💖

  • @ClaudiuLucianLupu
    @ClaudiuLucianLupu Год назад +15

    this video is unnecessarily long

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

    Thank you.😁

  • @chitrakshsuri8587
    @chitrakshsuri8587 Год назад +4

    Hey Brother!!
    I'm encountering an error when trying to start debugging, and it's showing: "Could not find the task 'C/C++: clang++ build active file'." How can I resolve this issue?

  • @timothybelliveau3956
    @timothybelliveau3956 2 месяца назад

    Remember, when youve messed up the global json files beyond repair, there's always '--purge'

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

    Complete guide for using an extension ❤

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

    thank u bro

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

    Thank you very much for sharing. Will you please tell me how to change from c++ to phython program code writing?

  • @sarunbudhathokichhettri8567
    @sarunbudhathokichhettri8567 6 месяцев назад

    I had extension.json build only??

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

    sir but g++ is not coming in my vs code

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

    Nothing try to run int num =5 ; in debug console like python for example it will not work.

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

    Lifesaver

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

    Installing MinGW and GDB on Windows is a most hard part...

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

      Better move to opensource Operating system. Then you won't have to install anything.

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

      @@VikasPooniaLinux is still used only by about 1-2% of people. Borland C for DOS was much-much simpler to use than VS Code C++ debugger. We really need DOS epoch.

  • @Siddikshetty
    @Siddikshetty 4 месяца назад

    thnaks bro

  • @gel0o150
    @gel0o150 2 месяца назад

    bro you forgot to explain first how to setup mingw to do all the compilation process

  • @Dhanush-zj7mf
    @Dhanush-zj7mf 11 месяцев назад

    watch it at 2x

  • @letsexploreourselves4002
    @letsexploreourselves4002 6 месяцев назад

    Not Working ,please upload new video

  • @letsexploreourselves4002
    @letsexploreourselves4002 6 месяцев назад +4

    I don't have enough time to watch your long video.

  • @letsexploreourselves4002
    @letsexploreourselves4002 6 месяцев назад

    try to make short video

  • @venkat-y7z
    @venkat-y7z 2 месяца назад

    Not at all useful.

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

    3_Linear_Search.c:3:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
    is anyone who solve this error

  • @boruto-xj9pi
    @boruto-xj9pi Год назад

    thank u bro