User Tools

Site Tools


notes:data:fall2022:projects:sll2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
notes:data:fall2022:projects:sll2 [2022/10/05 18:00] – [SPECIFICATIONS] gsubernotes:data:fall2022:projects:sll2 [2022/10/05 18:05] (current) – [Basic GDB] gsuber
Line 58: Line 58:
  
 =====Basic GDB===== =====Basic GDB=====
 +GDB is a very useful tool, especially if you are running into segmentation faults on any unit test. GDB allows you to set breakpoints, find the line of a segfault, display values of variables at a particular point in the program, and step line by line. Below are some common examples:
  
 To launch gdb (obtain used as example): To launch gdb (obtain used as example):
notes/data/fall2022/projects/sll2.1664992803.txt.gz · Last modified: 2022/10/05 18:00 by gsuber