This repo holds ressources for the debugging workshop hosted by 42Tutors on Mon 20.01.2025.
You will find :
- the slides both in html and pdf formats;
- the code exemples shown during the event
- additional documentation such as
- a gdb cheatsheet
- the sources on which we based the presentation
- the raw presentation, written in Markdown with Marp that you can export to .html, .pdf, .pptx and more. To export to a file format, you may use the generate-presentation.sh script.
This script is used to generate a usable support file from the .md file.
If you don't have node, install it:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
source ~/.zshrc # or .bashrc, or whatever interpreter you use
nvm install node
nvm use node
If you want to export the presentation to .html format, run the script:
./generate-presentation.sh
Or you can run this command and replace the extension with the one you want:
npx @marp-team/marp-cli@latest presentation.md --allow-local-files -o presentation-supports/presentation.<html|pdf|pptx>
You have read the sources, understood the slides, and you think something is missing ? You're probably right.
Please don't hesitate to contribute to the repo, taking care to follow the usual process described in the link. When prompted, please PR to the Tutor42Lyon repo
Please keep in mind that this is meant as an introduction to gdb and Valgrind, but have at it if you want to !
.
├── assets
│ ├── event_description.md
│ ├── gdb.png
│ ├── gnu_my_beloved.gif
│ ├── tutor.svg
│ └── val.png
├── code-example
│ ├── gdb-demo
│ │ ├── headers
│ │ │ └── RPN.hpp
│ │ ├── Makefile
│ │ └── src
│ │ ├── main.cpp
│ │ └── RPN.cpp
│ └── leak-examples
│ ├── ex
│ └── example.c
├── documentation
│ ├── gdb-cheatsheet.md
│ ├── pdf-doc
│ │ ├── gcc.pdf
│ │ └── GDB Cheat Sheet - GDB Cheat Sheet.pdf
│ └── presentations-sources.md
├── generate-presentation.sh
├── presentation.md
├── presentation-supports
│ ├── presentation.html
│ └── presentation.pdf
└── readme.md