C++ Debugger for complete beginners

preview_player
Показать описание

In this video, I will show you how to use the C++ debugger!

Check out my C++ Minecraft Clone! 🪨⛏️

Join my Discord:

Check out my Steam Game Midnight Arrow:

Join this channel if you want to support me 😻:

Рекомендации по теме
Комментарии
Автор

"dear beginners, please learn to use the debugger"
bold of you to assume that my program compiles successfully

роскомнадзор-дя
Автор

Debugging is the most valuable skill all engineers can learn at all levels of abstraction (maybe after "being passionate").

If you are staring at code, or administrating a network service, or supporting some complex distributed cloud behemoth, or reverse engineering weird vendor products and protocols -- the skill of picturing & isolating components and being familiar with the tools to do so (be that a debugger or whatever else helps you see what's actually happening) always makes life less painful.

wurlin_murlin
Автор

I love using a debugger specifically for gameplay stuff where there are lots of different variables that may or may not be causing the issue and instead of writing loads of print statements and reloading I can just test lots of different things on the fly.

jonnyrichards
Автор

Stalin debugging: rasstrelyat that bug

uis
Автор

Debuggers are the holy grail of programming

VanOri
Автор

i just use it to measure which function takes the most time and optimise it

Cinarbayramic
Автор

"nothing the g'old print debugging cant fix"

speedg
Автор

Holy grail GDB, would've wasted much more hours than i should without it.

Naburgondux
Автор

GDB people could benefit by using some of them GDB GUIs but I can't assure you their quality.

darko_n
Автор

"Never assume you know what the problem is"
and related: find and fix the real problem.

When searching for a problem, it tends to happen that you will find the symptoms of problem and it will be supereasy to just put an end to the effects caused by the bug instead of actually fixing the root cause.

Fix the real problem!

sealsharp
Автор

Can't be a coincidence that I spent 1 hour today because I forgot I copy pasted code that increment 'i' inside the for loop and inside the loop statement so I skipped half of the items...

sbvtiyq
Автор

non-debuggers when "Segmentation Error"

BobChess
Автор

How much years of blood and sacrifice it takes to become beast Chad c++ coder

vaibhavrohilla
Автор

I use gdb for things but my goto is still printing and asserts

nevokrien
Автор

I just don't get the anti debugger stance and insistence on adding printf statements that seems to be prevalent among certain circles. It's like not using oscilloscopes and multimeters when debugging a complex circuit board and instead staring at the pcb and soldering LEDs onto random spots. When I was just starting out I didn't use debuggers, mainly because I had no idea what they could do for me and did not know how to use them effectively. Two decades later and the debugger has become an indispensable tool. Learn to use both, learn when to use which and learn how to debug efficiently. Logging and debugging are not mutually exclusive, they go hand in hand.

Mad
Автор

Hi LowLevelGameDev.
May I ask how you are handling different resolutions in your games?
Like for example, I have a 1440p monitor and my 2d pixel art game looks good. But my friend for example has a 1080p monitor so everything looks zoomed in on his machine.
How can I make it look the same on both resolutions without making it look scuffed.

vulnoryx
Автор

Do you know any good resources to learn gdb? In my experience, Those old tools have very sparse resources.

blackbeard
Автор

What font do you use? It looks awesome! (as subtitle)

cameonn
Автор

I use neovim and I'm not leaving it. Guess I am going with gdb

Cnastret
Автор

I always ask my self is there a memory viewing tool for Linux like the one from visual Studio (maybe a Video about replacing visual Studio - removing Microsoft from your live)

duchtnv
join shbcf.ru