TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Easiest Language to Debug In?

1 pointsby amznbyebyebyeover 4 years ago
Experienced engineers out there: what has been the easiest language for you to debug? What tools/IDEs have made it this way?

1 comment

PaulHouleover 4 years ago
It might be better to not make the bug to begin with, but my take is this.<p>The open source world has a hard time making visual debuggers that work. gdb has always been workable as a command line debugger and if you like gdb then great. (there was that time I had to debug a Java&#x2F;C++ program with Eclipse and GDB simultaneously and it was easy after I turned off the segfault trap because Java segfaults all the time.)<p>A few weeks ago somebody posted a review on HN by someone who tried looking at open source visual debuggers (DDD for instance) and came to the conclusion that they were all broken and the people involved weren&#x27;t interested in fixing them.<p>Visual debugging with Eclipse&#x2F;Java works fine, but I wouldn&#x27;t count on Eclipse working 100% right for something other than Java. I prefer the Jetbrains tools and find visual debugging to work just fine in in IntelliJ (Java), PyCharm (Python) and Javascript (WebStorm). I&#x27;d expect the Jetbrains tools to work as advertised for other languages, and I know Visual Studio works well for languages that Microsoft cares about.<p>Thus it is a matter of the the quality of the tools you are using.<p>For a long time I&#x27;ve meditated on the bad state of GUI applications, expecially open source GUI application. A technical cause that&#x27;s become increasingly clear to me is that conventional UI toolkits of all kinds are not really encapsulated for this reason: drawing is done signal threaded and the framework can&#x27;t abort a render method so any GUI component can prevent the other components from rendering by blocking in the render method. Then you get that spinning beach ball or equivalent. Put enough plugins in Eclipse and give it a large enough project to work on and it&#x27;s almost inevitable that somebody used an O(N^2) algorithm in a render method somewhere and it will die from Pluginitis.<p>There&#x27;s also the social reason that many open source advocates think that any open source product is better than any closed source product (like that old bit about &quot;any white man&quot;) so they can&#x27;t admit that Visual Studio&#x27;s debugger works and DDD doesn&#x27;t.<p>(Open source nerds stormed the barricades in Germany to get local governments to use off-brand Office suites and the employee&#x27;s unions had to fight back for the right to use an Office product which is buggy but orders of magnitude less buggy than competitors)