Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
xaero136074dIt doesn't get more truer than this lol
CptFox124774dGuilty, but in my defense, I work with embedded systems and or chip doesn't support proper debug probes, we can only place pausing breakpoints, and pausing is not really the best way to figure out "why can't my board follow this BLE connection?" 🙃
Also, fun fact : sometimes the print statement (a synchronous serial write) takes so long that it breaks some time constraints and thus the connection, so we also have to use these handmade logpoints sparingly x)
RustyCookie140274dDebugger is for the clueless ones.
Hail the "echo 'got so far' " master race!!
marci010101174674d/ some code /
/ some more code:
- Oh cool, it works
Fast-Nop1277674dLast week, I had a segfault, but was too lazy to fire up GDB. So I just used #if 0 around the most recent code parts, and the segfault was gone. Narrowed that down until I saw an indexing error in a chained lookup table evaluation.
Binary chop method of problem solving. :-)
I would use the debugger, if only I fully understood how to use it..
But as I haven't to a lifetime to learn that quite yet, it isn't high up on my, learn to do list.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job