Переглядів 33,884
►GDB tutorial here: ukposts.info?v=MTkDTj...
►Find full courses on: courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Lesson Description: Note: One other very useful command is 'display' which I did not cover. You can inspect symbols in scope and see their value.
Here's a mapping of GDB to lldb commands if you are more familiar with gdb: lldb.llvm.org/use/map.html
00:00 Introduction to LLDB debugger
00:55 LLDB website
1:26 Sample code for the lesson
1:51 Compiling with debugging symbols
2:40 creating a target process
3:00 help in lldb
3:27 Finding our bug
4:08 creating a breakpoint
5:16 stepping to next instruction and moving to next command
6:40 Viewing the backtrace, i.e., our call stack
7:40 Navigating the graphical interface
8:48 relaunching our process and running through GUI
10:14 Fixing our segmentation fault
10:58 Wrapping up
►UKposts Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: courses.mshah.io/communities/...