Hacker News new | ask | show | jobs
by bobajeff 1407 days ago
I'm getting more into using debuggers lately. They can really help they just take time to learn.

As to why they are a last resort. For me it was just having to learn the debugger and also setting up the debugging environment. For every binary needs to be built with debugging symbols and any libraries you're wanting to step through you have to find the symbols for those too.

Also I think it depends on how low level the language and what kind of program it is.

Some languages/environment don't have debuggers or they aren't very good. I wouldn't say most debuggers that are mature are super great to use either.

1 comments

Yes, it is sad that setting up debugging is so tedious.

Could you give some examples or languages/environments with "bad" debuggers?

Off the top of my head: Multi-threaded C++ is one. Odin lang has poor support for many debugger features.

The Chromium Project can be way too slow to run in a debugger. Even just debugging the Content Shell can be very slow.