Re:Ask HN: Why are we not using debuggers more?
by pentab on Thursday August 18, 2022 @02:55PM
(#32513485)
Yes, it is sad that setting up debugging is so tedious.
Could you give some examples or languages/environments with "bad" debuggers?
Re:Ask HN: Why are we not using debuggers more?
by bobajeff on Thursday August 18, 2022 @04:37PM
(#32514583)
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.
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.