First segfault in my c++ code. Time to debug :D

@Absinthe @Ghosty

I sure like programming in actual high-level languages, which don't segfault or core dump. Ever.

@billstclair @Ghosty @Absinthe I'm skeptical such a language exists, I've seen Python core dump quite frequently.

@architect @Ghosty @Absinthe

Newly updated low-level libraries will often get core dumps. A mature code base, like most of the Lisps out there, does not. And my experience with Elm is that it rarely gets a JavaScript error, and then usually in custom JS code run through an Elm `port`.

@Absinthe I'll take a look at that next time.
I fixed it using gdb :).
My program was trying to erase the beginning of a vector with the size 0 :P.

@Absinthe @Ghosty I'm partial to lldb, but learning how to use any debugger is a great benefit to your ability to write good code.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.