What is your favorite open source debugging tool?

I recently talked about a lot of Open Source debugging tools (some of them are third-party open source, I agree), and the audience makes excellent additions to my list.

I would like to gather knowledge (and give credit) to the very bright StackOverflow group on the same subject.

There are no WebService / Java / .Net / HTML / Perl programming languages โ€‹โ€‹restrictions on this question. So far I have been discussing:

  • fs_usage for finding what writes so much to disk
  • lsof for debugging which ports or files are open.
  • tcpdump , wireshark , eavesdrop to view network traffic (incorrect data?)
  • firebug for debugging css, javascript and page loading problems
  • SoapUI , a poster for both troubleshooting SOAP and RESTful web services.
  • Eclipse Memory Analyzer and VisualVM for Java memory usage and GC issues.
  • BTrace for a toolkit of Java code already deployed on production servers
  • curl to view raw HTML addresses, redirect browsers, and test web services.
  • JMeter for testing downloads of Webapps and other supported components that fail under stress.

What open source tools can you add to the list?

+6
debugging open-source
source share
14 answers

For java programmers, why not try Omniscient Debugger ? This allows you to debug in time (I think time-travel), which is very convenient.

+1
source share

For the gcc crowd, there are gdb and gprof. I have done a lot with these two.

+5
source share

gdb, of course, is king, and valgrind has its fans.

For a good open source GUI cover around gdb see DDD . And one more front end gdb - Insight .

+5
source share

Firebug for everything connected to the Internet and Eclipse Debugger for navigating through Java code. jUnit and Mockito are probably the most commonly used in my daily work, although this is not limited to debugging.

+4
source share

printf()

+3
source share

VisualVM may not be the most powerful tool in the Java world, but it got the very nice usability of -to-power.

+3
source share

xdebug for PHP can be a godsend.

+2
source share
+2
source share

python registration module.

arsonist.

liveHTTP headers in firefox.

Safari webinspector .

When it comes to debugging web applications, I never use material that adds debugging / logging information to the server output.

I also have my own wsgi middleware that I use to debug web applications. It deletes all HTTP responses in the database, so it can be accessed many times. It can be configured to simply dump material with status code 500, etc. This way I donโ€™t need to resend messages with firebug when I debug ajax stuff, it is also much easier to read this way.

+2
source share

I would not call it a favorite, but when you need netcat , it is very nice to be able to script network traffic.

+1
source share

As a C lover, I like gdb.

+1
source share

I join crowd C:

gdb, valgrind, gprof.

Edit: I am also joining the Java community.

Debugging Tools Eclipse, firebug ,

+1
source share
 function readVar($var) { echo '<pre>'; var_dump($var); echo '</pre>'; } 

I use it about a hundred times a day.

On the client side, this is Firebug, or the primary classic:

 <script> alert('hello1'); .......//borked code stops execution here? alert('hello2'); .......//hmmm we shall see </script> 

:)

+1
source share
 printf("%s - %d: %d", __FILE__, __LINE__, variable ); qDebug() << variable; 

; -)

0
source share

All Articles