Take a look at my GDB tutorial here: https://www.youtube.com/watch?v=MTkDTjdDP3c&list=PLvv0ScY6vfd-GGT-aUH31X2yXgBSYXo6t&index=2
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
Note: One other very useful command is 'print' which I did not cover. You can inspect symbols in scope and see their value.
Please like and subscribe to help the channel!
Other courses or resources of interest: https://www.udemy.com/user/michaelshah/
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
Note: One other very useful command is 'print' which I did not cover. You can inspect symbols in scope and see their value.
Please like and subscribe to help the channel!
Other courses or resources of interest: https://www.udemy.com/user/michaelshah/
Комментариев нет.