Beginner C++ Game Programming Tutorial 7
From Chilipedia
Mr. DeBugger is a real sir.
Contents
[hide]Concepts Taught
- Using the Visual Studio debugger
Chili's Dank Meta Nugs
- Don't binge watch the tutorials--space that shit out
- Practice and experiment with C++ on your own initiative
Video Timestamp Index
- Intro 0:00
- Introducing the Debugger 0:31
- Setting up the debugger 1:41
- Running in debug mode 2:25
- The call stack 2:45
- Finding debug windows 3:17
- Release vs Debug mode: assertions 3:50
- Autos 4:56
- Debugging second solution: setting your own breakpoints, stepping over and stepping into 6:38
- Locals 9:30
- Step out 10:39
- Continue 11:33
- Advice from Chili 12:10
- Chili's Dank Meta Nugs 12:45
- Homework 16:35
Homework
There are three problems to solve in three separate solutions. The solutions are all based on the code used in the tutorial video (the code from the Tutorial 6 homework) Download the zip of the solutions below in the Downloads section.
- Assertion fails! Find the bug! Also, there's another bug hiding if you solve the first one. Try making the boxes collide and see what happens (or what doesn't happen...). Note that I don't talk about this second bug in the solution video. Check out the Solution Errata below for the answer.
- Assertion fails! Find the bug!
- Moving the cursor to the bottom of the screen is bad news bears...
The solution is given in this video.
Solution Errata
Read the below (click Expand) only after attempting the problem yourself.
[Expand]