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: Do you use a debugger?

15 pointsby karamazovabout 12 years ago
If so, (or if not), for which languages?

20 comments

yen223about 12 years ago
When I work with C#, I use a debugger all the time. Learning how to attach a debugger to a running process saves a lot of headaches in the long run.<p>On the other hand, when I work with Python, I rarely had to use a debugger. Python's grammar is so simple that simply <i>reading</i> through the code is usually enough to spot most errors.
zamalekabout 12 years ago
Having been spoilt by the calibre of Microsoft debugging tools earlier on in my development career it's one of the very first things I get working when approaching new environments/languages. It's especially helpful when learning a language as experimentation is often a lot quicker than RTFM.
shortlivedabout 12 years ago
IF the problem lends itself to debugging then a hearty "YES!" is my answer. Eclipse/Java is my debugger of choice but there are also fine standalone debuggers like JSwat or even the command line debugger.
gurvinderabout 12 years ago
how can you not use debugger and program/find defects. I mean for sure you can do print and alert, but that is highly inefficient way of debugging.
ZephyrPabout 12 years ago
No, I wrote my own debugger.<p><a href="https://github.com/zv/zdb" rel="nofollow">https://github.com/zv/zdb</a><p>For "serious" stuff, I have a .gdbinit file that makes GDB <i>much</i> more usuable, check it out if you have time.<p><a href="https://raw.github.com/zv/dotfilez/master/gdbinit" rel="nofollow">https://raw.github.com/zv/dotfilez/master/gdbinit</a>
jkabout 12 years ago
gdb. I work in system software, so cross platform debugger is what helps to catch issues easily.<p>edit: gdb to debug asm and C code
gesmanabout 12 years ago
Yes. Live, step by step debugging of fresh code is the best ever way to find hidden bugs that are otherwise undetectable by tests.
room271about 12 years ago
I (mostly) write Scala and have never used a debugger. I'm not aware of any of my immediate colleagues who use one either.
patfornaabout 12 years ago
For me, TDD, a REPL and the occasional console print statement almost completely eliminates the need for a debugger. That being said, I probably fire it up every couple of months when working on a java or .net project. #java #scala #ruby #javascript #.net
codewrightabout 12 years ago
Prolifically in Python, JavaScript, and Clojure (sorta. I find Ritz annoying.)
评论 #5557231 未加载
smillikenabout 12 years ago
Bpython has a nice wrapper for pdb: <a href="https://pypi.python.org/pypi/bpython/0.11" rel="nofollow">https://pypi.python.org/pypi/bpython/0.11</a><p>This is the nicest python debugger I've used.
gobengoabout 12 years ago
I'm surprised at how few frontend developers make use of JavaScript's 'debugger;' statement. I find it invaluable.
评论 #5563824 未加载
评论 #5556234 未加载
mayankj08about 12 years ago
Yes, I use debugger oftenly for GCC and I use GDB debugger for same.
raindriftabout 12 years ago
Yep! The Chrome debugger for js, and pry-debugger for ruby.
webdisruptabout 12 years ago
With PHP...Xdebug which is incorporated in Netbeans IDE
nekitamoabout 12 years ago
OllyDBG every day, for x86 assembler :)
Irishsteveabout 12 years ago
But of course
kamaalabout 12 years ago
On very few occasions have I ever faced a need to use a debugger.<p>Generally those situations are places where print statements are not allowed.
strayabout 12 years ago
Of course!<p>Common Lisp's debugger, accessed via slime is the best thing since running water.<p>Also a big fan of WingIDE's debugger for python.
incawaterabout 12 years ago
Yes, I use debugger regularly.