GDB Tutorial

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • Tutorial on the GNU Project Debugger given at the University of Waterloo on the 14th of June 2019 by Joshua Rampersad.

КОМЕНТАРІ • 102

  • @wei-lunchiu2366
    @wei-lunchiu2366 2 роки тому +89

    Thanks for such informative vid on GDB!
    To recap what I just learned, I listed the timeline and content as follows:
    00:00 intro
    03:52 compile for GDB
    06:23 run
    07:24 break
    10:00 next
    10:46 list
    12:06 print
    15:14 quit
    19:18 up/down
    21:44 display/undisplay
    26:30 backtrace
    29:55 step
    31:57 continue
    34:40 finish
    40:16 watch
    43:40 info/delete
    47:15 whatis
    49:43 target record-full/reverse

  • @Anubis10110
    @Anubis10110 12 днів тому

    Thanks for your contribution.

  • @the_yugandharr
    @the_yugandharr 10 місяців тому

    Mahnn beautiful lecture! Amazing teacher!

  • @nikholaslopez4383
    @nikholaslopez4383 Рік тому

    Lovely tutorial! I'm able to insert a breakpoint say at main, but when I run I get an error that the program couldn't insert a breakpoint and can't access the memory location of some address. Anyone else experience this?

  • @RichardLentz-g5k
    @RichardLentz-g5k 8 днів тому

    Rodriguez Richard Garcia Helen Brown George

  • @NaomiWynn-h1y
    @NaomiWynn-h1y 15 днів тому

    Wilson Elizabeth Garcia Deborah Williams Maria

  • @rvft
    @rvft Місяць тому

    Ain't no one using debugger for debugging 😈

  • @jensmalzer6344
    @jensmalzer6344 Рік тому

    i love canadians

  • @MichelleHawkins-s9d
    @MichelleHawkins-s9d 20 днів тому

    Thomas William Lee Susan Walker Cynthia

  • @pupazzamobila1006
    @pupazzamobila1006 4 роки тому +2

    The kid mastered a tool and this made him think he is well prepared for lecturing. Wrong conclusion.

    • @aryanparikh9085
      @aryanparikh9085 4 роки тому +14

      I disagree

    • @yurenwang4604
      @yurenwang4604 3 роки тому +11

      I disagree. great lectures and well done.

    • @nobytes2
      @nobytes2 3 роки тому +12

      I assume you can do better? Link to your lecture? That's what I thought. Sit down, and listen to your instructor. If you're such of master of everything, wtf are you even here.

    • @B-a_s-H
      @B-a_s-H 2 роки тому +1

      Your lack of respect is disturbing.

    • @pupazzamobila1006
      @pupazzamobila1006 2 роки тому

      @@B-a_s-H Disrespect to incompetents is a good an healthy thing. Contrarywise, your inclination to tolerate incompetence is disturbing, on the long run it leads to the degradation of engineering. Think about developers of your next car.

  • @moizshakruwala8994
    @moizshakruwala8994 2 роки тому +10

    55 mins well spent

  • @여승준-x1q
    @여승준-x1q 4 місяці тому +5

    I'm a south Korean guy which lives faaaaar from you. Send you my appreciation for this super-handy lecture. what a beautiful lecture!

  • @yiansu5071
    @yiansu5071 2 роки тому +19

    This is surely the most helpful guide I found on gdb. Thanks for making this video!

  • @Adityarksht64
    @Adityarksht64 3 роки тому +59

    The energy was phenomenal. This guy has put his soul in this tutorial. Loved it. His teaching skills are natural.

  • @johndeal1624
    @johndeal1624 4 роки тому +13

    Thanks this helped me. I used cdb extensively in the 1980s and 1990s and remembered what it could do but not the commands to do it. I am now in a situation where I do not have the resources to run an IDE so am using gdb. This tutorial was great for reminding me of the basic commands. Thanks for posting!

  • @Youngduck93
    @Youngduck93 3 роки тому +8

    Thank you so much the quality content! I'm a caveman debugger who is trying to get familiar with GDB :)

  • @git_gud9774
    @git_gud9774 3 роки тому +12

    this dude is awesome at teaching!

  • @rageshnc
    @rageshnc 3 роки тому +10

    Excellent tutorial for anyone who want to begin with GDB. Clearly explained !!

  • @jackikoch837
    @jackikoch837 3 роки тому +7

    That was extremely helpful, thank you!

  • @Troy-s7q
    @Troy-s7q 11 днів тому

    Clark Elizabeth Anderson George White Shirley

  • @KaronGalindo-x5k
    @KaronGalindo-x5k 7 днів тому

    Miller Joseph Young Charles Thompson Barbara

  • @DannyRosse-z8x
    @DannyRosse-z8x 19 днів тому

    Lewis Carol Walker Amy Hernandez Michael

  • @KarinGonzalez-y5h
    @KarinGonzalez-y5h 13 днів тому

    Garcia George Jackson Brenda Thomas Matthew

  • @PaulaPando-u1m
    @PaulaPando-u1m 19 днів тому

    Thomas Susan Young Steven Clark Linda

  • @DavideCullam-x7k
    @DavideCullam-x7k 26 днів тому

    Williams Edward Walker John Lopez Barbara

  • @Gurgle-d4h
    @Gurgle-d4h 24 дні тому

    Anderson Thomas Anderson Sandra Garcia Kimberly

  • @warplanner8852
    @warplanner8852 Рік тому +1

    The kid looks like Arlo Guthrie back in the 60s.

  • @MildredRubio-s6g
    @MildredRubio-s6g 17 днів тому

    Walker Jason Jackson Nancy Lewis Anthony

  • @berndeckenfels
    @berndeckenfels Місяць тому

    And if you have a segfault or a core dump use „where“

  • @sydneysalisburry4938
    @sydneysalisburry4938 9 днів тому

    Jones Thomas Miller Helen Thompson Ruth

  • @DavidLewis-g3e
    @DavidLewis-g3e 21 день тому

    Walker Paul Young Amy Miller John

  • @leonardesnymanasa9172
    @leonardesnymanasa9172 17 днів тому

    Wilson Betty Martin Laura Anderson Margaret

  • @SenehaIslam-o8p
    @SenehaIslam-o8p 17 днів тому

    Garcia Jessica Clark Sharon Anderson Donna

  • @MerleneHaislip-v3r
    @MerleneHaislip-v3r 15 днів тому

    Smith Carol Brown Ronald Thomas Anna

  • @baileyfleming8525
    @baileyfleming8525 7 днів тому

    Moore Susan Davis Maria Miller Scott

  • @NicholasChristine-w4l
    @NicholasChristine-w4l 9 днів тому

    Walker William White Ruth Lee Jeffrey

  • @MahajabinTabasum
    @MahajabinTabasum 17 днів тому

    Clark Cynthia Wilson John Williams Donna

  • @WebbKatherine-k7z
    @WebbKatherine-k7z 26 днів тому

    Allen Karen Gonzalez Kenneth Davis Carol

  • @MaxJoan-e6f
    @MaxJoan-e6f 19 днів тому

    Harris Scott Hall Betty Davis Carol

  • @arnoldflannagan2766
    @arnoldflannagan2766 12 днів тому

    Gonzalez Eric Lee Jose Hall Jose

  • @XnndjehdhkNxndjhds
    @XnndjehdhkNxndjhds Місяць тому

    Johnson Jose Johnson Charles Perez Daniel

  • @know_ivan
    @know_ivan 4 роки тому +2

    Valgrind tutorial video!!! Wanted... Cool GDB tutorial. Thank You

  • @杨毅-p8c
    @杨毅-p8c 2 роки тому +1

    Thanks for this video, very helpful for me!🤓

  • @PPunyacharan
    @PPunyacharan 3 роки тому +2

    Very very helpful. Thanks for the tutor and thanks for putting it out here.

  • @kaankarakoc7680
    @kaankarakoc7680 3 місяці тому

    thanks that was a good presentation

  • @mohitrimza4613
    @mohitrimza4613 2 роки тому +2

    crystal clear concepts... very nicely and neatly elaborated...

  • @abhishek-xv5ow
    @abhishek-xv5ow 2 роки тому +2

    Loved ur energy :)

  • @happygofishing
    @happygofishing Місяць тому

    This is a great lesson

  • @garyhe7544
    @garyhe7544 3 роки тому +2

    It is very clear

  • @krishnabugudi2512
    @krishnabugudi2512 2 роки тому +1

    Big fan brother. You saved me❤️

  • @abhijitpaul7683
    @abhijitpaul7683 3 роки тому +2

    Is it only me or the sound is kinda low

  • @ghraffydd5275
    @ghraffydd5275 2 роки тому

    A Fortran program with [2772, 7] array worked. The array is read from an external file, it started as a [2000,7] array and has run fine since then.
    When the Array became [2773,7] the program sig errored. I compiled with -g and fired up GDB. The program runs fine in GDB!

  • @abhijitpaul7683
    @abhijitpaul7683 3 роки тому +2

    That was super helpful, thanks a lot

  • @patlollasrujan8493
    @patlollasrujan8493 2 роки тому +1

    Great tutorial , it was really helpul. Great job

  • @yrpsa
    @yrpsa Місяць тому

    thanks daddy

  • @yrpsa
    @yrpsa Місяць тому

    thanks daddy

  • @geovanyteca3250
    @geovanyteca3250 Рік тому +1

    The dude has the gift of teaching! Thank you very much.

  • @Choptec
    @Choptec 2 роки тому +1

    Great job! That was a pretty good intro to GDB!

  • @jackyyeh8763
    @jackyyeh8763 2 роки тому +1

    Clear explanation. Help me a lot. Thanks!

  • @salilphadnis4147
    @salilphadnis4147 3 місяці тому

    Excellent tutorial. Well prepared and delivered. Thank you so much !

  • @xinking2644
    @xinking2644 2 роки тому +1

    Great video!

  • @akhileshpatil7500
    @akhileshpatil7500 3 роки тому +1

    very nice explanation

  • @kaushikjames5623
    @kaushikjames5623 4 місяці тому

    wonderful, life improving video for embedded SW developers !

  • @pranchalgupta2370
    @pranchalgupta2370 4 місяці тому

    such a great teacher i swear! you have no idea how much you helped me with this lecture

  • @mouneshbadiger1811
    @mouneshbadiger1811 2 роки тому

    Thank you so much sir its very helpful to understand how command works

  • @Chroncher
    @Chroncher Рік тому

    Gosh diggidy darnet, this tutorial was awesome!

  • @juvusart
    @juvusart 3 роки тому +1

    Thanks a lot

  • @bettyswunghole3310
    @bettyswunghole3310 2 місяці тому

    Great lecture! Thank you!

  • @arwin-j5e
    @arwin-j5e 9 місяців тому

    thanks for giving outstantanding tutorial .

  • @adetolasanni007
    @adetolasanni007 Рік тому

    Yes, I did find it useful. That was beautiful.

  • @aryamick
    @aryamick 11 місяців тому

    Great tutorial, thanks a lot!

  • @try3825
    @try3825 Рік тому

    high quality content. thank you

  • @kevinzebb
    @kevinzebb Рік тому

    This nigga good

  • @B-a_s-H
    @B-a_s-H 2 роки тому

    Great lecture!

  • @shaiksoofi3741
    @shaiksoofi3741 2 роки тому

    Thank you

  • @michaelkohlhaas4427
    @michaelkohlhaas4427 4 роки тому

    *Around five commands in an hour? Impressive!*

    • @ChrisCox-wv7oo
      @ChrisCox-wv7oo Рік тому

      Almost 20 commands...
      Are you just being a dick?

  • @aayushisingh3280
    @aayushisingh3280 4 роки тому +1

    omg I love him

  • @oldlonecoder5843
    @oldlonecoder5843 2 роки тому

    This young guy is an asperger. Tout much passion and details for clearness and for all of our joy and comprehension. Amazing!

  • @arcanelore168
    @arcanelore168 7 місяців тому

    Doesn't work with my code. Very dummy context, yours. It enters a member function and doesn't stop.

  • @austinmurphy9074
    @austinmurphy9074 4 роки тому

    Help. I'm searching Udemy. Should I take C or C++ course first iyo?

    • @gaurangshukla8235
      @gaurangshukla8235 4 роки тому +3

      C absolutely. It teaches you a lot and you will learn C++ easily after C.

    • @austinmurphy9074
      @austinmurphy9074 4 роки тому

      @@gaurangshukla8235 Awesome, I took a boring C course to learn about c strings and pointers and now I am finishing a C++ course by Serge Lansiquot that teaches you how to make pacman and space invaders type games

    • @damiangilz
      @damiangilz 4 роки тому

      Bad question. Once a very good dev said, "just because I know C well doesn't mean that I can contribute to the Linux kernel". Learn according to a purpose.

    • @austinmurphy9074
      @austinmurphy9074 4 роки тому +1

      I like learning C, makes bash/python and almost everything else more understandable

  • @jimmoriarty6964
    @jimmoriarty6964 4 роки тому +4

    Wait, that's a boy?