Pages tagged debugging:

Mark's Blog : The Case of the Slooooow System
http://blogs.technet.com/markrussinovich/archive/2008/09/24/3126858.aspx

The Case of the Slooooow System
A List Apart: Articles: Advanced Debugging with JavaScript
http://www.alistapart.com/articles/advanceddebuggingwithjavascript
darwin's firepython at master - GitHub
http://github.com/darwin/firepython/tree/master
Python logging console for Firebug
FirePython is a sexy Python logger console integrated into Firebug.
Parasite
http://chipx86.github.com/gtkparasite/
Parasite is a debugging and development tool that runs inside your GTK+ application's process. It can inspect your application, giving you detailed information on your UI, such as the hierarchy, X window IDs, widget properties, and more. You can modify properties on the fly in order to experiment with the look of your UI.
Something that looks like it will make GUI development 30% less painful.
Re: Not an awk question
http://lists.ethernal.org/oldarchives/cantlug-0211/msg00174.html
We called it the Rubber Duck method of debugging. It goes like this:
We called it the Rubber Duck method of debugging. It goes like this: 1) Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck (bathtub variety) 2) Place rubber duck on desk and inform it you are just going to go over some code with it, if that's all right. 3) Explain to the duck what you code is supposed to do, and then go into detail and explain things line by line 4) At some point you will tell the duck what you are doing next and then realise that that is not in fact what you are actually doing. The duck will sit there serenely, happy in the knowledge that it has helped you on your way.
"We called it the Rubber Duck method of debugging. It goes like this:"
rubber duck method of debugging
we call it the rubber duck method of debugging
My favorite.
The rubber duck debugging method
I have to get a rubber duck.
> There is an entire development methodology (whose name escapes me at the moment) that makes use of that very phenomenon. We called it the Rubber Duck method of debugging. It goes like this:
Mistä saisin sopivan ankan?
Wazi » Highlight Tutorials » How to Fix Memory Leaks in Java
http://olex.openlogic.com/wazi/2009/how-to-fix-memory-leaks-in-java/
Fix Memory
great bookmarks
How to Fix Memory Leaks in Java
bert’s blog » Blog Archive » USB sniffing on linux
http://biot.com/blog/usb-sniffing-on-linux
Christoph Dorn - All around the PHP Toolchain » Blog Archive » Integrating FirePHP for Ajax Development
http://www.christophdorn.com/Blog/2009/04/03/how-to-integrate-firephp-for-ajax-development/
Integrating FirePHP for Ajax Development
Tutorial für den Einsatz von FirePHP (Extension für Firebug)
There are many integrated development environments and tools available to aid in building Web 2.0 AJAX applications with PHP, but nothing comes close to the ease of use and tight Firebug integration that FirePHP provides.
peeping into memcached :: snax
http://blog.evanweaver.com/articles/2009/04/20/peeping-into-memcached/
blackbirdjs - Google Code
http://code.google.com/p/blackbirdjs/
Blackbird offers a dead-simple way to log messages in JavaScript and an attractive console to view and filter them. You might never use alert() again.
javascript logging utility
Great looking js logging console for all browsers
JavaScript Debugging Techniques in IE 6
http://sixrevisions.com/javascript/javascript-debugging-techniques-in-ie-6/
JavaScript Debugging
Microsoft's Internet Explorer 6 is almost universally hated by web developers. Fortunately, with the help of Visual Studio and by changing a few IE settings, we can make it much easier on ourselves.
Patching a Program Without Source Code: How to be like the Skype Hacker for Newbies – Codexon
http://www.codexon.com/posts/patching-a-program-without-source-code-how-to-be-like-the-skype-hacker-for-newbies
Profiling Ruby With Google’s Perftools - igvita.com
http://www.igvita.com/2009/06/13/profiling-ruby-with-googles-perftools/
Named function expressions demystified
http://yura.thinkweb2.com/named-function-expressions/
An article about named function expressions in Javascript
different ways of defining functions
Theoretical and practical aspects of Javascript's named function construct
Surprisingly, a topic of named function expressions doesn’t seem to be covered well enough on the web. This is probably why there are so many misconceptions floating around. In this article, I’ll try to summarize both - theoretical and practical aspects of these wonderful Javascript constructs; the good, bad and ugly parts of them.
FireQuery
http://firequery.binaryage.com/
FireQuery is a collection of Firebug enhancements for jQuery
jquery extension for firefox
How to be a Programmer: A Short, Comprehensive, and Personal Summary
http://samizdat.mines.edu/howto/HowToBeAProgrammer.html?p=1#id2790277
If you want to make a personal decision that only you can make like whether or not you should start a business, try putting into writing a list of arguments for and against the idea. If that fails, consider divination. Suppose you have studied the idea from all angles, have done all your homework, and worked out all the consequences and pros and cons in your mind, and yet still remain indecisive. You now must follow your heart and tell your brain to shut up. The multitude of available divination techniques are very useful for determining your own semi-conscious desires, as they each present a complete ambiguous and random pattern that your own subconscious will assign meaning to.
How to Debug PHP Using Firefox with FirePHP
http://sixrevisions.com/web-development/how-to-debug-php-using-firefox-with-firephp/
Typically, there are two main ways of debugging server-side code: you can utilize an Integrated Development Environment (IDE) with a built-in debugger or log and perform your debugging processes in a web browser.
LShift Ltd. » Tracing Python memory leaks
http://www.lshift.net/blog/2008/11/14/tracing-python-memory-leaks
How to Debug Bash Scripts | Ayman Hourieh's Blog
http://aymanh.com/how-debug-bash-scripts
On how to trace Bash script execution.
Tagaholic - Hirb - Irb On The Good Stuff
http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
Hirb::View.formatter_config
Irb is a great place for interacting with Ruby. Unfortunately, even with the colorful help of wirble, it's not so great for visualizing the output of those interactions. Hirb aims to change that.
View mini framework for irb.
Python Debugging Techniques | Ayman Hourieh's Blog
http://aymanh.com/python-debugging-techniques
code.interact(), Python debugger and logging
und the current line. Let's give it a try:
Finding and fixing memory leaks in Python - amix blog
http://amix.dk/blog/viewEntry/19420
"WSGI middleware which displays sparklines of Python object counts and allows you to introspect them, using the gc module under the hood"
Finding and fixing memory leaks can be a real challenge, but luckily Python has some pretty good tools for spotting these things. I have already written about this issue and this post will go into more details on how to spot and debug a memory leak in MySQLdb, which is the standard Python wrapper for MySQL.
Carsonified » How to Debug in PHP
http://carsonified.com/blog/dev/how-to-debug-in-php/
Great look at Debugging PHP - Useful for anyone really
formaldehyde - Project Hosting on Google Code
http://code.google.com/p/formaldehyde/
sounds super useful, wish there was something like this for flash.
PHP debug info for the client side
Include-olsz egy php fájl a forrásodban, plusz egy plugint felresz, és máris van egy php debuggered a böngésződben a Firebug-ba beépülve.
Output PHP debug info to client side.
awesome looking in-browser PHP debugger - nearly as nice as the werkzeug ine is for Python. "I develop PHP async interactions via ActionScript and LoadVars, Ajax, or Remote Scripting before, since year 2000 but for some reason I have never thought about a portable, scalable, simple, and complete debugger file as Formaldehyde is. I hope you'll appreciate its simplicity, its basic and useful features, and I am waiting for your feedback in WebReflection"
hurl
http://hurl.it/
Pretty useful when working with API's. I like it...
"Hurl makes HTTP requests. Enter a URL, set some headers, view the response, then share it with others. Perfect for demoing and debugging APIs."
Hurl makes HTTP requests. Enter a URL, set some headers, view the response, then share it with others. Perfect for demoing and debugging APIs.
Hurl makes HTTP requests. Enter a URL, set some headers, view the response, then share it with others. Perfect for demoing and debugging APIs.
HTTP request debugging in the web, perfect for demoing and debugging APIs.
Hurl make HTTP requests like 'cURL' but a web interface.
Hurl makes HTTP requests. Enter a URL, set some headers, view the response, then share it with others. Perfect for demoing and debugging APIs.
Java VisualVM – Developer`s Nightmare is Over
http://www.taranfx.com/blog/java-visualvm
Sun now integrates a profiler in the jdk
Java VisualVM – Developer`s Nightmare is Over
VisualVM is an open source tool for monitoring and profiling your Java applications. VisualVM is now integrated with JDK 6 update 7 release and also available as a stand-alone setup. Java 7 plans to integrate next version 1.2.
Software is hard | Eventbug (alpha) Released
http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/
Alguma coisa relacionada à eventos controlados pelo firebug, ainda não li
Plugin for firefox to show event handlers, and more
This extension brings a new Events panel that lists all of the event handlers on the page grouped by event type. The panel also nicely integrates with other Firebug panels and allows to quickly find out, which HTML element is associated with specific event listener or see the Javascript source code.
WordPress Debug Theme - Yoast - Tweaking Websites
http://yoast.com/wordpress-debug-theme/
A dead sexy theme to help you debug your WordPress install.
chromedevtools - Project Hosting on Google Code
http://code.google.com/p/chromedevtools/
-remote-shell-port=9222
chrome用デバッグツール eclipse前提
How to detect and avoid memory and resources leaks in .NET applications
http://msdn.microsoft.com/en-us/library/ee658248.aspx
Despite what a lot of people believe, it's easy to introduce memory and resources leaks in .NET applications. The Garbage Collector, or GC for close friends, is not a magician who would completely relieve you from taking care of your memory and resources consumption. I'll explain in this article why memory leaks exist in .NET and how to avoid them. Don't worry, I won't focus here on the inner workings of the garbage collector and other advanced characteristics of memory and resources management in .NET. It's important to understand leaks and how to avoid them, especially since they are not the kind of things that is easy to detect automatically. Unit tests won't help here. And when your application crashes in production, you'll be in a rush looking for solutions. So, relax and take the time to learn more about this subject before it's too late. Table of Content * Introduction * Leaks? Resources? What do you mean? * How to detect leaks and find the leaking resources *
.NETでリークする要因。「Events, or the "lapsed listener" issue」は良く目にする。
Debugging in Python « Python Conquers The Universe
http://pythonconquerstheuniverse.wordpress.com/2009/09/10/debugging-in-python/
PDB Overview
!exploitable Crash Analyzer - MSEC Debugger Extensions - Home
http://www.codeplex.com/msecdbg
via http://blogs.microsoft.co.il/blogs/sasha/archive/2009/09/06/exploitable-crash-analyzer.aspx
Hijack: Get A Live IRB Prompt For Any Existing Ruby Process
http://www.rubyinside.com/hijack-get-a-live-irb-prompt-for-any-existing-ruby-process-2232.html
Only requires that gdb be available on the box. No requiring libraries or listening on sockets to get the console. Rad.
Whoah, hot-swapping IRB prompt for running Ruby process.
A Unix Utility You Should Know About: lsof - good coders code, great reuse
http://www.catonmat.net/blog/unix-utilities-lsof/
This is the third post in the article series about Unix and Linux utilities that you should know about. In ...
Official Google Blog: Faster apps for a faster web: introducing Speed Tracer
http://googleblog.blogspot.com/2009/12/faster-apps-for-faster-web-introducing.html
Speed Tracer is a Google Chrome extension that enables developers to identify performance problems in their web apps using a "Sluggishness Graph," in combination with many other metrics.
12/08/2009 07:14:00 PM Do you ever wonder what's going on inside the browser when a webpage doesn't load or respond as quickly as it should? Many developers do, especially when trying to build powerful web applications for their users. But up until now, it's been difficult for developers to identify problems in a slow-to-respond application. So, tonight at Google Campfire One, we're happy to announce that we're adding a new tool to Google Web Toolkit called Speed Tracer. Speed Tracer is a Google Chrome extension that enables developers to identify performance problems in their web apps using a "Sluggishness Graph," in combination with many other metrics. In the spirit of clean, simple design, developers need only look at the Y-Axis of their application's Sluggishness Graph to see how they're doing: * If the y-axis is close to zero, then the app is fast * If the y-axis registers around 100%, then the app is, well, sluggish And in either case, Speed Tracer provides lots of ad
jQuery Lint – James Padolsey
http://james.padolsey.com/javascript/jquery-lint/
It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery. It will also, to some extent, offer guidance on best practices and performance concerns. Handy with firebug's console.
"jQuery Lint is a simple script you can download and use with jQuery. It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery. It will also, to some extent, offer guidance on best practices and performance concerns."
Six Things Your Mom Never Told You About Debugging Javascript « [devlunch]
http://devlunch.smart.fm/2009/07/29/six-things-your-mom-never-told-you-about-debugging-javascript/
Debug PHP with Firebug and FirePHP
http://www.sitepoint.com/blogs/2010/02/09/debug-php-firebug-firephp/
AS3 hidden treasure in the mm.cfg file. Revealing and documenting many Flash secrets! « jpauclair
http://jpauclair.net/2010/02/10/mmcfg-treasure/
Fix It Fast: Rapid IE6 CSS Debugging | Viget Inspire
http://www.viget.com/inspire/fix-it-fast-rapid-ie6-debugging/
IE6 CSS Debugging
border: 1px solid red !important;
Krumo: Version 2.0 of print_r(); and var_dump();
http://krumo.kaloyan.info/
Worth taking for a spin
To put it simply, Krumo is a replacement for print_r(); and var_dump();. By definition Krumo is a debugging tool (initially for PHP4/PHP5, now for PHP5 only), which displays structured information about any PHP variable.
Debug Java applications remotely with Eclipse
http://www.ibm.com/developerworks/java/library/os-eclipse-javadebug/index.html?ca=dgr-jw22os-eclipse-javadebug/index.html&S_TACT=105AGX59&S_CMP=GRsitejw22
You don't need to debug Java applications on just your local desktop. Learn how to spread around your debugging using different connection types that make up remote debugging. This article outlines the features and examples that show how to set up remote application debugging.
Remote Debugging of JAVA Applications
JSON Visualization
http://chris.photobooks.com/json/default.htm
Simple, easy method to visually inspect a JSON-encoded string.
Debugging and Testing in Internet Explorer Made Easy | samuli.hakoniemi.net
http://samuli.hakoniemi.net/debugging-and-testing-in-internet-explorer-made-easy/
post bem interessante com links para programas bacanas (inclusive pacotes das versões do ie) sobre debug nos ie
It’s somewhat usual to leave the testing with Internet Explorer until the end of the project. This is quite acceptable when you’re dealing mainly with layout issues. But when you’re building a web application with loads of features, there are several issues to struggle with: constant debugging, client-side performance, proprietary bugs and so on. However, getting your hands dirty with IE doesn’t always feel as comfortable as with other browsers. In this article, I’m going to list and review different set of tools, which will help you and make your debugging and testing process in Internet Explorer much more enjoyable.
Internet Explorer UA Style Sheets
http://www.iecss.com/
ブラウザデフォルトスタイル。IE8で見出しとか大きく変わってたんだな。
Building a Better JavaScript Profiler with WebKit « alert debugging
http://www.alertdebugging.com/2009/04/29/building-a-better-javascript-profiler-with-webkit/
Spotify vs OllyDbg
http://www.steike.com/code/spotify-vs-ollydbg/
sudo dtrace -n 'syscall::write*:entry /execname == "Spotify" && arg0 == 2/ { trace(copyinstr(arg1)); ustack(); }'
"Spotify for Windows contains code so awesome that [Windows debugger] OllyDbg can't look at it without crashing."
Spotify for Windows contains code so awesome that OllyDbg can't look at it without crashing.
6 Line EventMachine Bugfix = 2x faster GC, +1300% requests/sec at time to bleed by Joe Damato
http://timetobleed.com/6-line-eventmachine-bugfix-2x-faster-gc-1300-requestssec/
"This results in an increase from 500 requests/sec to 7000 requests/sec when using Sinatra+Thin+Epoll+Threads. That is pretty ill." -- Joe Damato
On top of all that, this patch helps with Ruby’s green threads, too. If the epoll_wait causes a Ruby event to fire and that event creates a Ruby thread, that Ruby thread gets an entire copy of the existing stack. Each time that thread is switched into and out of, that thread stack has to be memcpy’d into and out of place. Reducing those memcpys by ~800,000 bytes is a HUGE performance win. Want to learn more about threading implementations? Check out my threading models post: here. Fixing this turned out to be pretty simple. A six (6!!) line patch: * Speeds up GC by 2-3x because of the huge decrease in stack frame size. * Fixes an open bug in EventMachine where using threads with Epoll causes lots of slowness. The reason is that each thread will inherit an ~800,000 byte stack that gets copied in and out every context switch. * This results in an increase from 500 requests/sec to 7000 requests/sec when using Sinatra+Thin+Epoll+Threads. That is pretty ill.
l in all, a productive debugging session lasting about an hour. The result was a simple patch, with 2 big performance improvements.
Use jQuery to catch and display ASP.NET AJAX service errors | Encosia
http://encosia.com/2009/03/04/use-jquery-to-catch-and-display-aspnet-ajax-service-errors/
showing .net webservice errors asp.net webservices
Javascript feature tests
http://yura.thinkweb2.com/cft/
Using DTrace to observe the SQL statements on a live running MySQL database : Angelo's Soapbox
http://blogs.sun.com/angelo/entry/observing_mysql_sql_statements_in
Watch live mysql sql statements with dtrace
helpful
How to Debug Your jQuery Code
http://msdn.microsoft.com/en-us/scriptjunkie/ee819093.aspx
Debug JQuery
jQueryのコードを Firebugを使ってデバッグする方法のレクチャー記事です。
Different tools and techniques for improving jQuery code
HTML and CSS Debugging Tools | Design Shack
http://designshack.co.uk/articles/css/html-and-css-debugging-tools
แก้โค้ดในบราวเซอร์
Ksplice » Attack of the Cosmic Rays! - System administration and software blog
http://blog.ksplice.com/2010/06/attack-of-the-cosmic-rays/
a really nice article on debugging
Amazing forensic methods to compare system cache in memory with image on disk.