Basic UE4 C++ debugging tutorial using Visual Studio 2019

Published: 24 April 2021
on channel: George Pence
1,273
39

Live training session recorded on Discord, using Reuben Ward's Survival Game code as an example, which you can learn about here:    • Unreal Engine C++ Survival Game Cours...  

This tutorial demonstrates some basic debugging techniques for UE4 C++ code. Some of the information covered is how to understand the call stack and why it is useful, and how to set breakpoints and launch and operate the debugger on your game code, and a few examples of basic troubleshooting.

00:00 - Intro
02:00 - Interpreting the UE4 Crash Reporter
06:00 - Investigating a non-crashing bug
08:56 - Setting breakpoints
10:40 - Launching the debugger
11:31 - Hitting a breakpoint
12:15 - Going off topic to talk about build configurations for a bit
15:15 - Talking about Visual Studio workspace layouts in normal and debug mode
17:50 - Back to investigating, discussing the debug Call Stack panel
19:08 - Discussing the main debugger controls
23:02 - Using the debugger Autos/Locals panels to determine the cause of the bug
25:10 - Continuing execution after stopping at a breakpoint
26:44 - Discussing TSubclassOf and what it does
28:14 - Correcting the bug and testing functionality
30:35 - Setting conditions on breakpoints
35:50 - Reviewing debugger controls, call stack, and stepping through the code
40:58 - Adding a variable to the Watch panel in the debugger
42:20 - Discussing variable scopes in C++
43:50 - General discussion


On this page of the site you can watch the video online Basic UE4 C++ debugging tutorial using Visual Studio 2019 with a duration of hours minute second in good quality, which was uploaded by the user George Pence 24 April 2021, share the link with friends and acquaintances, this video has already been watched 1,273 times on youtube and it was liked by 39 viewers. Enjoy your viewing!