Debug faster with gdb layouts (TUI)

Debug faster with gdb layouts (TUI)

Jacob Sorber

3 года назад

27,417 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ralph Reilly
Ralph Reilly - 23.10.2023 16:25

Gdb is a sound base but TUI is a joke compared to debugging in jetbrains or vscode.

Ответить
sakuyarules
sakuyarules - 10.07.2023 08:23

This is a godsend, thank you!

Ответить
Freddie Ventura
Freddie Ventura - 23.06.2023 20:29

Really not much information in this video but just introducing a bit the feature

Ответить
MarquisDeSang
MarquisDeSang - 01.06.2023 01:12

It is better to use GDB inside EMACS with the full 6 viewports.

Ответить
Boxr T
Boxr T - 12.05.2023 04:16

This is amazing! Had no idea this was a feature and I've been painfully using GDB this entire semester....

Ответить
Viraj Cz
Viraj Cz - 01.05.2023 04:07

This is so good! Thank you so much!

Ответить
Vladimir_K_BestPlayerNA
Vladimir_K_BestPlayerNA - 09.02.2023 08:33

I see that you can also see the values stored in the registers live. Is it possible to have all 3 shown at once? C code, Assembly, and register values?

Ответить
huyibao
huyibao - 20.10.2022 07:34

thank you for gdb demo.

Ответить
Mohammad Hossein Zolfagharnasab
Mohammad Hossein Zolfagharnasab - 28.08.2022 18:37

I always respected my professors at university and learned many things from them, but I think I have learned even more from you. Thank you professor and please keep on your valuable online courses.

Ответить
zirkoni
zirkoni - 05.08.2022 11:13

Instead of "b main" & "r" you could just do "start".
Also, instead of "layout next" use "layout src" (or whatever layout name you want).

Ответить
giacomo g
giacomo g - 07.06.2022 20:01

do you know if there's a layout gdb for java programs?

Ответить
Test Shar
Test Shar - 11.02.2022 22:11

Does this command works in putty session? What to do if it doesn't?

Ответить
Ironphran
Ironphran - 13.01.2022 01:16

I have this "m68k-elf-gdb.exe" gdb client wich i use to debug 68k assembly, but it does not support tui....i've been trying to recompile it whit added support with no luck, any idea on how to enable tui in this version???

Ответить
Ars Rivas Zar Edan
Ars Rivas Zar Edan - 12.05.2021 08:00

thanks a lot!!!!

Ответить
Anonymous VEVO
Anonymous VEVO - 10.04.2021 03:27

You are a hero !

Ответить
Dušan Kolak
Dušan Kolak - 05.04.2021 16:42

is there a way for me to display stack at every step? or have a window dedicated to stack? instead of typing bt full every step. thanks for the video!

Ответить
drvanon
drvanon - 09.03.2021 20:29

Not having known about this before, you have just revolutionized my debugging experience!

Ответить
Graham Joss
Graham Joss - 04.03.2021 06:47

wow. where have you been all my life ...

Ответить
Kevin Richey
Kevin Richey - 07.02.2021 07:35

Cool. I didn't know about that. Been coding for 30 years and still learning. That's why I like your channel.

Ответить
Nx2020 Nx2020
Nx2020 Nx2020 - 25.01.2021 17:45

Hi, tnx 4 ur awesome tutorials. Can u make a tutorial on how to build an ISO imagine of a Linux kernel from Linux source code that can actually be used in virtualbox

Ответить
A J
A J - 18.01.2021 15:10

Linux has still in olden days debugging techniques, this is seem to be tedious debugging as well less devolper friendly

Ответить
Chris Fahed
Chris Fahed - 17.01.2021 05:56

Would you please make a video about Math in embedded systems and btw very helpful videos keep going

Ответить
Benjamin Shinar
Benjamin Shinar - 16.01.2021 13:20

i was aware of tui, but not of changing layouts.
and the nexti,stepi could be huge!

Ответить
Mikey Amaro
Mikey Amaro - 15.01.2021 17:19

bruuhh arm-aebi-none-gdb 2020 doesnt support tui.

Ответить
Maicon Faria
Maicon Faria - 15.01.2021 03:42

Would be nice to have some tool to visualize and compare big arrays on GDB

Ответить
Ben Zuckier
Ben Zuckier - 15.01.2021 02:49

I used this trick when doing my bomblab assignment. Helps so freaking much.
A big tip here is also that control+L refreshes the TUI, as it often gets weirdly "corrupted" and needs often refreshing.

Ответить
Marus Dod
Marus Dod - 15.01.2021 02:07

I usually just press ctrl-x-a

Ответить
Maranello988
Maranello988 - 14.01.2021 21:53

VIM, GCC, GDB
The rest is unnecessary :)

Ответить
vanowik
vanowik - 14.01.2021 20:41

There are extensions to gdb like pwndbg or peda that make it much more friendly.

Ответить
Asad Khasanov
Asad Khasanov - 14.01.2021 16:45

Fantastic!

Ответить
johnybaker987
johnybaker987 - 14.01.2021 07:41

Hi Jacob, can you do tutorial, maybe share some tweaks on how to better understand other people's code, especially when it's a big project with a lot of .c and .h files? Thanks.

Ответить
DontAskMe
DontAskMe - 14.01.2021 05:23

don't apologize that it was a short video, everyone who clicks on the video sees it before they click ;)

Ответить
Radim Cernej
Radim Cernej - 14.01.2021 00:57

Short AND helpful. :)

Ответить
Paul Lemmermann
Paul Lemmermann - 13.01.2021 23:36

Can you do a tutorial about Radare2?

Ответить
Subhashis Ghose
Subhashis Ghose - 13.01.2021 22:40

Thank You for demonstrating the TUI in GDB. This is going to be Helpful.

Ответить
Jannis Adamek
Jannis Adamek - 13.01.2021 22:23

Nice video and happy new year to all fellow C programmers!

Ответить
FuckSociety
FuckSociety - 13.01.2021 22:11

I think it would be great if you made a discord server. Just for people to share and learn from others and it would be easier to help people.

Ответить
Rafal Michalski
Rafal Michalski - 13.01.2021 22:01

Hi Jacob. How did you split these two views: C and Assembler ?

Ответить
vivyir
vivyir - 13.01.2021 21:45

its gdb time

Ответить