at 9:14 , it is an unfortunate choice to have your file named main.c because if the file were called hello.c for example you would also use >disassemble main and not >disassemble hello because there is an inherent assumption in the way you presented it !
Just finished an Operating Systems class and was talking with my brother in law about how hard it is to debug C with just printfs, and he was confused I wasn't using GDB. My teacher never taught us it existed. I'm so mad
So nice a guide. Loved it! And I like your microphone. You should have skipped the part of writing the actual code since it's not the point of the guide. It is also nice that you added that skipping ability so one can just go straight to debugging. Still some users will miss the video because of the length not knowing it is in fact organized in chapters. I'm speaking of those who need just a focused video on debugging.
Cool, thanks, I love this video, I learned new good stuff! Actually I got to this video, because after several tries, I couldn't seem to make the VScode work properly... I know I'm a noob...
not a single person shows the first step, where are you opening the file or anything like that, there is no help really for gdb beginner, how to use text editor, gnu or shell together, I never heard of gdb and everyone says you use this comman and install gdb, only minigw video, explains atleast the first part
yes it all depends on that one rare video. For example , I couldn't compile a simple hello world and the error was that there was no stdio.h which kinda threw me . Then I read that to compile the source for glibc you needed glibc , which catch 22 threw me , then I saw this one vid that said do sudo apt install build-essentials and , lo and behold HELLO WORLD !! Weird that so much key info is squirreled away so deep .
you might have said that in >nv main.c at the bash prompt nv is a custom alias that you've set up and that to terminate the shell running the c program you use ^c or ctrl + c and you probably should have cited all the documentation sites for gdb and to really scare people gcc , nano , and glibc . Actually I have learned that ^d or ctrl + d is the proper way to terminate
Is it possible to have gdb display all relevant variables to the current scope(or global and local) and update them with each step like vscode does? or do you have to type print for each variable every step?
This helps me as I’m learning C for my university degree. Much appreciated. Keep up the great work 🤗
Never have I imagined one day I'd be debugging with minimal UI like this. Thx for the vid.
at 9:14 , it is an unfortunate choice to have your file named main.c because if the file were called hello.c for example you would also use >disassemble main and not >disassemble hello because there is an inherent assumption in the way you presented it !
Just finished an Operating Systems class and was talking with my brother in law about how hard it is to debug C with just printfs, and he was confused I wasn't using GDB. My teacher never taught us it existed. I'm so mad
how did you know i needed this 😇
So nice a guide. Loved it! And I like your microphone. You should have skipped the part of writing the actual code since it's not the point of the guide. It is also nice that you added that skipping ability so one can just go straight to debugging. Still some users will miss the video because of the length not knowing it is in fact organized in chapters. I'm speaking of those who need just a focused video on debugging.
would be cool if you could more in depth with C
debugging C on your PC is one thing. The real "fun" starts when you try to debug an embedded program that you burned to an IC...
cool, thank you for dedication. Do you consider making videos about Rust or Go in future?
What is the nv command do? Is that a text editor like vim or nano? Not familiar
cheers mate, helped me out a ton.
Thank you, very useful for neophyte :)
Do we need GDB ? Visual studio code has good debugging system with breakpoints that you mentioned for Pyhton. So should we use VSCode ?
Sometimes you don't have a choice
@@roymarshall_ Yeah you're right mate
Cool, thanks, I love this video, I learned new good stuff! Actually I got to this video, because after several tries, I couldn't seem to make the VScode work properly... I know I'm a noob...
not a single person shows the first step, where are you opening the file or anything like that, there is no help really for gdb beginner, how to use text editor, gnu or shell together, I never heard of gdb and everyone says you use this comman and install gdb, only minigw video, explains atleast the first part
yes it all depends on that one rare video. For example , I couldn't compile a simple hello world and the error was that there was no stdio.h which kinda threw me . Then I read that to compile the source for glibc you needed glibc , which catch 22 threw me , then I saw this one vid that said do sudo apt install build-essentials and , lo and behold HELLO WORLD !! Weird that so much key info is squirreled away so deep .
you might have said that in >nv main.c at the bash prompt nv is a custom alias that you've set up and that to terminate the shell running the c program you use ^c or ctrl + c and you probably should have cited all the documentation sites for gdb and to really scare people gcc , nano , and glibc . Actually I have learned that ^d or ctrl + d is the proper way to terminate
Is it possible to have gdb display all relevant variables to the current scope(or global and local) and update them with each step like vscode does? or do you have to type print for each variable every step?
6:47 Use a pager.
Hi! Why actually going that way if you have codeblocks or eclipse or other IDEs?
How did you copypasted scanf lines?
Keep up the good work
How to make line numbers to appear in my vim? Nwm those are not the line numbers what those numbers even represent?
Isobel Walks
Baumbach Curve
Nichole Route
Antonietta Summit
NICE VIDEO 😊😊
Does this works as well with c++?
Rickie Tunnel
Elvie Crescent
Bartoletti Extension
Armstrong Ramp
Effertz Hill
McLaughlin Shoal
Ferne Landing
Rolfson Underpass
Ignacio Extension
Pollich Fall
Keagan Dam
Heathcote Mountains
Hayes Gateway
Tromp Dam
Conroy Station
Tromp Ville
what IDE is this ?
is there any good gui alternatives for gdb?
You can integrate gdb with vscode
I think it is uses gdb by default? So I can use all gdb commands in there? Like reverse step?@@soufiane_dev
Wallace Mountains
6:38 My god, doesn't your console have a scrollbar?! 😂
Luella Crossroad
Mckayla Springs
Travis Ferry
Doug Freeway
Schinner Station
Steuber Tunnel
But you can integrate gdb in vscode
Mckenzie Throughway
Roberts Radial
Margaretta Alley
Barton Inlet
Thanks👍
Glennie Freeway
Emile Lakes
Roscoe Hills
Cletus Park
Chaya Way
John Roads
Benedict Loop
Webster Crescent
Edwina Rest
Marilou Light
Skiles Cliff
Remington Stream
Mathew Trail
Lind Run
Cole Lane
Martina Extensions
what is nv IDEs ❓
maybe neovim
Amya Bridge
Smitham Cove
Wendy Road
Macejkovic Club
Lehner Mountains
Libbie Street
Dayna Club
Emelia Points
Schinner Valley
Chester Vista
Gusikowski Tunnel
Marquis Station
Carleton Fort
Kirlin Harbors
Reinger Circle
Flatley Flats
Grant Turnpike
Drew Corner
Langosh Groves
Krajcik Grove
Watsica Ranch
Bins Locks
Hauck Manors