1012
C++ Moment (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Swedneck@discuss.tchncs.de 55 points 10 months ago

imagine if it, like, told you this so you didn't have to find out about it via a post on lemmy

[-] PotatoesFall@discuss.tchncs.de 25 points 10 months ago

imagine if it like, read that file and gave you a stack trace

[-] ysjet@lemmy.world 14 points 10 months ago

gdb gives you waaaaaaaaaaaaaaay more than a stack trace.

[-] inetknght@lemmy.ml 5 points 9 months ago

...unless you build the executable with optimizations that remove the stack frame. Good luck debugging that sucker!

[-] TarantulaFudge@lemmy.ml 5 points 10 months ago

I love gdb! I recently had to do a debug and wow its so cool! On gentoo I can compile everything with symbols and source and can do a complete stack trace.

[-] TangledHyphae@lemmy.world 2 points 9 months ago

Am I the only one in this thread who uses VSCode + GDB together? The inspection panes and ability to breakpoint and hover over variables to drill down in them is just great, seems like everyone should set up their own c_cpp_properties.json && tasks.json files and give it a try.

[-] current@lemmy.ml 0 points 10 months ago

i mean you're expected to know the basic functioning of the compiler when you use it

this post was submitted on 28 Feb 2024
1012 points (97.0% liked)

Programmer Humor

32725 readers
139 users here now

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

Rules:

founded 5 years ago
MODERATORS