243
Debugging (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] TimeSquirrel@kbin.melroy.org 4 points 1 week ago

Printing debug messages didn't do much for me for this one time where a class was overflowing a buffer right in the constructor, and everything was fine creating an instance of it, passing it around, etc., until I actually go to use one of its methods later on in the program and it crashes. It was C++ on an ESP32 and I had to decode the stack trace and everything to find it, took me hours because I had to learn what even to do with a stack trace. The Espressif forums kinda suck balls, they are a ghost town.

this post was submitted on 20 Nov 2024
243 points (98.4% liked)

Programmer Humor

32572 readers
570 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS