Debugging C/C++ with LLDB Tutorial

  Рет қаралды 28,140

constref

constref

Күн бұрын

Пікірлер: 66
@sumantkalra9001
@sumantkalra9001 2 жыл бұрын
This tutorial is so elegant that it forced me to write my first comment on youtube. Thanks.
@utm13n
@utm13n 2 жыл бұрын
I've been surfing through lldb videos looking for a concise intro, and yours is the best I've come across. Thanks for putting this together! As c++ beginner, I can see how valuable knowing how to use a debugger will be the learning process. If you're feeling ambitious, I'd certainly appreciate any intro c++ videos you might put together.
@NOPerative
@NOPerative Жыл бұрын
agreed.
9 ай бұрын
Great tutorial! It is not only a good lldb tutorial, but it is also a good general debugging overview for newcomers.
@yusuf3728
@yusuf3728 3 жыл бұрын
Amazing tutorial, no nonsense words. 40 mins passed like 10 mins. Thank you so much
@constant3130
@constant3130 4 жыл бұрын
The best introduction to lldb I have seen so far - and I have been desperatly looking for one, believe me! Thank you for making it !
@constref1983
@constref1983 4 жыл бұрын
Thank you, fellow const :)
@illyay1337
@illyay1337 3 жыл бұрын
I've been debugging with IDE's all my life and I found myself having no choice but to debug from a terminal. This was super helpful. I'm suddenly a more 1337 coder all of a sudden.
@kiokunoroi7854
@kiokunoroi7854 3 жыл бұрын
This is some GOOD quality tutorial video! I've never been more thankful to someone. Really THANK YOU for the detailed clean tutorial
@teC5
@teC5 2 жыл бұрын
perfect explanation, clear and to the point. Ran into some regression in my usual gui based debugger and this helped me continue on.
@jasonhe6947
@jasonhe6947 Жыл бұрын
Thanks for making this great tutorial. It helps a lot to get into this topic. Def want to see a more in-depth video of this topic.
@meharpreetsinghnanda6682
@meharpreetsinghnanda6682 3 жыл бұрын
Amazing tutorial for getting started with lldb
@kombaimusiclab3699
@kombaimusiclab3699 2 жыл бұрын
Nice work, you go straight to the point with a great example. Thank you for this tutorial.
@艾曦-e4g
@艾曦-e4g 2 жыл бұрын
Great video, and looking forward for the part2. LOL!
@walid4588
@walid4588 2 жыл бұрын
Thank you for this tutorial. this is very helpful.
@BeateThalmann-s4q
@BeateThalmann-s4q 2 ай бұрын
Excellent tutorial!!! Many thanks!!!
@shengguangxiao1452
@shengguangxiao1452 Жыл бұрын
Good and clear explanation
@deep2mixer
@deep2mixer 2 жыл бұрын
Excellent tutorial ..thanks
@lethality3704
@lethality3704 2 жыл бұрын
such good quality video, you deserve more subscriber bro!
@vinnar1
@vinnar1 3 жыл бұрын
Really helpful. Thanks for your time and effort.
@arlotetxu
@arlotetxu Жыл бұрын
Nice tutorial!! Really helpfull and valuable!!
@constref1983
@constref1983 Жыл бұрын
Glad it was helpful!
@shawnxihaowu
@shawnxihaowu Жыл бұрын
Thank you so much for this video! Super helpful!!
@eduardovelardepolar5754
@eduardovelardepolar5754 2 жыл бұрын
Great video, thanks a lot
@tutorialstube9587
@tutorialstube9587 3 жыл бұрын
This tutorial is great. Can you please make more videos debugging c++ with lldb? Thanks.
@jantonisito
@jantonisito 3 жыл бұрын
It was quite useful - I just started using LLDB and it was great beginner level pedestrian tutorial. Definitely see the value in learning LLDB. You may show the full code a bit earlier in the video. Also on watchpoints - they become disabled if you restart the process - would be nice to know how to re-enable them. Thanks!
@jinhopark3671
@jinhopark3671 3 жыл бұрын
Thank you so much! It was very helpful with all the details and examples.
@sortof3337
@sortof3337 Жыл бұрын
Very good video. I've started getting into c again for fun and looking to refresh my lldb/gdb knowledge. THanks Hey, can we get access to those slides?
@oleksasirotinin1532
@oleksasirotinin1532 2 жыл бұрын
beautiful explanation. thank you very much!
@moviesynopsis001
@moviesynopsis001 Жыл бұрын
Is it possible to be as efficient in terminal lldb as a gui based debugger? To me it just seems annoying having to prompt everytime where as something like visual studio displays all the information while your stepping through.
@Andre-LA
@Andre-LA 10 ай бұрын
Use the "gui" command
@constref1983
@constref1983 4 ай бұрын
Nah, its good to know if you need to use it, but I use Visual Studio 95% of the time, and hop into Qt Creator from time to time. You can certainly get pretty speedy with LLDB in the terminal, but setting breakpoints, hopping around the call stack and inspecting is definitely going to be far quicker and easier using a GUI. Back when I thought I was cool because I didn't use an IDE, and ran LLDB in a terminal window, I always knew in the back of my head that I was objectively being inefficient, just so that I could feel like I'm somehow coding more old-school. Some people will be like "IDEs are slow", but that is only true on startup. I mostly use Visual Studio, and while it definitely takes more time to start up, once your project is open and you're coding, compiling and debugging in a cycle, its certainly quicker in the IDE, especially debugging. Anybody that tells you that they are faster when they alt-tab around between Vim, LLDBing via commands or staring at non-syntax-highlighted code are just lying. Something that really inspired me to not be a dork and focus on being productive was listening to John Carmack on Lex Fridman's podcast, particularly his answer when asked about Emacs vs Vim, and preferred editor.
@samuelmartin7319
@samuelmartin7319 2 жыл бұрын
This video was great! Thank you!
@davidthai7144
@davidthai7144 3 жыл бұрын
At 17:35, what does the $ mean in $2 = 0. And why does it change to $3 at 17:52? It's still referring to the same variable.
@philperry6564
@philperry6564 2 жыл бұрын
I think that's the evaluated expression of the variable at a given frame.
@davidthai7144
@davidthai7144 2 жыл бұрын
@@philperry6564 Finally, a reply to an answer that I needed over a year ago!
@shawnswanson7721
@shawnswanson7721 3 жыл бұрын
Very informative video. Thanks. Any chance you know how "gui" command works with lldb?
@GlobalYoung7
@GlobalYoung7 3 жыл бұрын
Thank you 🙏 ❤️
@yyangdid
@yyangdid 3 жыл бұрын
Very useful video, thank you!
@psmdream
@psmdream 4 жыл бұрын
Thanks a lot for your video.
@javipy2731
@javipy2731 Жыл бұрын
is it possible to debug an application that consists of multiple processess and/or multiple threads, with lldb relatively easy?
@ali51717
@ali51717 4 жыл бұрын
This is a very nice lightweight introduction to lldb. Thanks
@runasand
@runasand 3 жыл бұрын
This is really helpful, thank you! Are you planning a Part 2 still?
@eastonbenson4495
@eastonbenson4495 3 жыл бұрын
i know im asking the wrong place but does anyone know a trick to log back into an Instagram account?? I was stupid forgot the login password. I love any tricks you can offer me!
@raylansamuel8174
@raylansamuel8174 3 жыл бұрын
@Easton Benson instablaster =)
@eastonbenson4495
@eastonbenson4495 3 жыл бұрын
@Raylan Samuel thanks so much for your reply. I found the site on google and Im trying it out atm. I see it takes quite some time so I will get back to you later with my results.
@eastonbenson4495
@eastonbenson4495 3 жыл бұрын
@Raylan Samuel It worked and I actually got access to my account again. I am so happy! Thanks so much you saved my ass !
@raylansamuel8174
@raylansamuel8174 3 жыл бұрын
@Easton Benson You are welcome :)
@SonarSystemsCoUk
@SonarSystemsCoUk 4 жыл бұрын
Interesting stuff
@lakshyarajsinghrathore1902
@lakshyarajsinghrathore1902 3 жыл бұрын
whenever I try to set a break point it shows no locations (pending) and have tried every solution i could have but nothing is working
@nex7268
@nex7268 2 жыл бұрын
thx it helps a lot🙂🙂
@90125iahg
@90125iahg Жыл бұрын
very useful
@rajupadhyay694
@rajupadhyay694 Жыл бұрын
How do one find proper segmentation error in lldb I use mac
@Ethan-po8ji
@Ethan-po8ji 2 жыл бұрын
This is nice!
@JamesTJoseph
@JamesTJoseph Жыл бұрын
Thank you
@jakubstepien7257
@jakubstepien7257 3 жыл бұрын
It is a pity that the automatic translation of subtitles into Polish does not work here.
@ne_bknnlive3920
@ne_bknnlive3920 3 жыл бұрын
Thanks
@zu1191
@zu1191 2 жыл бұрын
This is fucking good BTW where is 2nd video????????
@DaPsychocat
@DaPsychocat 4 жыл бұрын
I'm suing lldb on ubuntuX and it doesn't look like that at all, everything is displayed as function_name + X, making it extremely difficult to interpret. Does someone know why it does that and how I can correct it ?
@NickEnchev
@NickEnchev 4 жыл бұрын
Have you made sure your code is compiled for debugging? Maybe your debug symbols are not enabled. What compiler and build system are you using?
@raiyanreza9764
@raiyanreza9764 3 жыл бұрын
hi where the powerpoint?
@jayhanjaelee
@jayhanjaelee Жыл бұрын
Great video. Thank you!
@constref1983
@constref1983 Жыл бұрын
You're welcome!
@Tachiguro
@Tachiguro Жыл бұрын
Thanks a lot!!!
@constref1983
@constref1983 Жыл бұрын
You're welcome!
@shashanksharma21
@shashanksharma21 3 жыл бұрын
thanks for the very informative video !
GDB Tutorial
55:12
CS 246
Рет қаралды 75 М.
"BEST C++ CODE ever written" // Code Review
27:38
The Cherno
Рет қаралды 88 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Emulating a CPU in C++ (6502)
52:28
Dave Poo
Рет қаралды 1 МЛН
An Introduction to GDB for Debugging C Programs - COMP211 - Fall 2020
1:03:55
Comprehending Proc Macros
47:41
Logan Smith
Рет қаралды 31 М.
Is C BETTER than C++ for beginners? // Code Review
31:16
The Cherno
Рет қаралды 91 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 596 М.
Creating CMake Libraries - That others can find and use.
26:29
Debugging with Core Dumps
9:16
Jacob Sorber
Рет қаралды 67 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
why do header files even exist?
10:53
Low Level
Рет қаралды 450 М.
Debugging C Programs with GDB
16:43
NeuralNine
Рет қаралды 48 М.