Debugging WSL C++ / CMake Projects on VSCode

  Рет қаралды 8,540

Coding with Mat

Coding with Mat

Күн бұрын

Пікірлер: 35
@Scherbakov
@Scherbakov 2 жыл бұрын
This is an extremely accurate and working explanation of how to make a debag. It was extremely useful for me! Thanks!
@codingwithmat
@codingwithmat 2 жыл бұрын
Thank you for watching!
@lanl2qz
@lanl2qz 2 ай бұрын
Best hands on useful tutorial on this topic!
@codingwithmat
@codingwithmat Ай бұрын
Thanks! I hope it helps out the C++ new comers :D
@ekanshsharma1507
@ekanshsharma1507 3 ай бұрын
Thanks for being concise, and helpful. Still works :)
@codingwithmat
@codingwithmat 3 ай бұрын
You should check out the new video, it explains how to do this in a better way. Link in the description!
@mayaambalapat3671
@mayaambalapat3671 6 ай бұрын
Very concise and helpful video
@codingwithmat
@codingwithmat 6 ай бұрын
thanks for watching :)
@petrasvestartas4359
@petrasvestartas4359 2 жыл бұрын
Thank you! Works perfectly on Windows VSCode CMake Ninja Debug
@codingwithmat
@codingwithmat 2 жыл бұрын
Glad you liked the video & that it worked perfectly! Thanks for watching
@TheAshok1978
@TheAshok1978 20 күн бұрын
Thanks for this contribution, really helped me moving.
@codingwithmat
@codingwithmat 19 күн бұрын
Thanks for watching! Hope your C++ and CMake journey is a little bit easier now :)
@nhatlequocnhat7183
@nhatlequocnhat7183 2 жыл бұрын
Very clear, Big Thanks !
@codingwithmat
@codingwithmat 2 жыл бұрын
Thank you for watching, my friend!
@bananbiff
@bananbiff 2 жыл бұрын
Really great, thanks!!
@codingwithmat
@codingwithmat 2 жыл бұрын
Thanks for watching! Glad you liked it.
@zbesh
@zbesh Жыл бұрын
great explanation
@codingwithmat
@codingwithmat Жыл бұрын
Thank you for watching!
@MinhNguyen-b6l4x
@MinhNguyen-b6l4x 10 ай бұрын
Thank you ❤
@ΣτεφανοςΓκικας-υ1η
@ΣτεφανοςΓκικας-υ1η Жыл бұрын
really useful video!
@codingwithmat
@codingwithmat Жыл бұрын
Thank you for watching! Glad it helped you :)
@abdosaleh6058
@abdosaleh6058 2 жыл бұрын
Very helpful indeed but i kept getting some launch .jason files and i know its from my end but i cant figure it out
@codingwithmat
@codingwithmat 2 жыл бұрын
Do you mean you have multiple launch.json files in your solution? If you have a shared project (perhaps through git), could the repository already have a "launch.json" file? AFAIK, you should only have one file in the workspace, unless VScode has support for multiple ones. For example, settings.yml is supported at a project level, user level and global level so you can have multiple of those, I'm not sure if it's the same for "launch.json". I recommend reading the documentation on it to find out: code.visualstudio.com/docs/editor/debugging
@abdosaleh6058
@abdosaleh6058 2 жыл бұрын
@@codingwithmat I'm willing to pay you something for your trouble if u can help me set it up on my pc, we can talk the details on discord if you like, what do you say ??
@codingwithmat
@codingwithmat 2 жыл бұрын
@@abdosaleh6058 Hey, I don't want to charge you at all, but I can help on my discord discord.gg/jBd7wEmA .
@srenkrusepedersen3235
@srenkrusepedersen3235 10 ай бұрын
Seems like the configuration in launch.json is obsolete. @codingwithmat can you confirm and provide an updated version ?
@codingwithmat
@codingwithmat 10 ай бұрын
Thank you! Yeah it's probably an old config. I'll redo an updated video !
@AbdelsatarElmezayen
@AbdelsatarElmezayen Жыл бұрын
I did the same on linux, but to create a jason file, the C++ debugger doesn't exist
@Brumus14
@Brumus14 Жыл бұрын
thank you very helpful .
@jmikhailov
@jmikhailov 2 жыл бұрын
cheers mate thanks for the help
@codingwithmat
@codingwithmat 2 жыл бұрын
Thank you for watching, god to know it worked for u :)
@ahmednader381
@ahmednader381 2 жыл бұрын
Life saver!
@codingwithmat
@codingwithmat 2 жыл бұрын
Glad u liked it!
@ahmednader381
@ahmednader381 2 жыл бұрын
@@codingwithmat Any idea how I could configure this json automatically with each project in cmakelists?
@codingwithmat
@codingwithmat 2 жыл бұрын
​@@ahmednader381 If I understand right, you want to tell your CmakeLists.txt to configure a launch.json for you? I don't think this is possible with the current CMake version. Unfortunately, you're going to have to write a debug configuration for every test case you want to debug.
CMake - the essential package
27:54
Code for yourself
Рет қаралды 13 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Debugging C++ & CMake in VSCode in the Right Way
13:49
Coding with Mat
Рет қаралды 3,4 М.
Modern CMake for C++
11:38
Smok Code
Рет қаралды 50 М.
Настройка окружения WSL+cmake+VSCode (2023)
39:05
Dmitry Gribanov
Рет қаралды 2,6 М.
VS Code WSL (C++) - Create Project, Compile, Run
10:02
Brian Fraser
Рет қаралды 40 М.
Debugging STM32 in VSCODE with stlink and jlink | VIDEO 45
17:33
Matej Blagšič
Рет қаралды 48 М.
CMake: Including Sub-folder Projects [Ep 5]
24:54
sudocpp
Рет қаралды 7 М.
Jamie's CMake Training Session 1: CMake and Building C++
1:14:18
MultipleMonomials
Рет қаралды 15 М.