Pages tagged debug:

A List Apart: Articles: Advanced Debugging with JavaScript
http://www.alistapart.com/articles/advanceddebuggingwithjavascript
HTTPの通信状況をデバッグしてボトルネックを発見できる「HttpWatch Basic Edition」 - GIGAZINE
http://gigazine.net/index.php?/news/comments/20090218_httpwatch/

HTTPの通信状況をデバッグ
YAML Debug - an assistive code diagnostic tool for web developers
http://debug.yaml.de/
… an assistive tool for web developers, that allows you to quickly review code quality and semantic structure of any website (particularly those based on YAML) as well as testing it against common oversights.
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?
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.
Google Japan Blog: C++ のプログラムのデバッグを楽にする方法
http://googlejapan.blogspot.com/2009/04/c.html
Google 流 C++ プログラムのデバック方法
Particletree » PHP Quick Profiler
http://particletree.com/features/php-quick-profiler/
PHP Quick Profiler
In our company, code reviews play an integral part in the development process for making quality software. We opt for a mentor style approach with Wufoo, where a developer works on a segment for a period of time and then passes it up to a more experienced developer for review. We really like this approach because it means more developers become familiar with the foundation of different code level services. More importantly, they act as an additional safeguard against security holes, memory leaks, poor queries and heavy file structures. Unfortunately, these reviews are also very time consuming and in a small team can sometimes be an inconvenience to the reviewer — another developer with their own todo list to accomplish.
PHP Form Performance
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.
実行中のアプリケーションを外から観察するコマンド。 - こせきの技術日記
http://d.hatena.ne.jp/koseki2/20090619/TraceProc
AS3 SWF Profiler » Lost In Actionscript - Shane McCartney
http://www.lostinactionscript.com/blog/index.php/2008/10/06/as3-swf-profiler/
Example of ActionScript profiler to track framerate or memory usage
This handy script applies a profiler option to the right click Flash Context Menu which allows you to debug or track the current FPS or memory used by your SWF. Further to this it also stores a configurable history length of the frame rate and memory performance for the SWF.
SWF Profiler
Flash の メモリ使用量やフレームレートなどのパフォーマンスが分かるライブラリ。
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.
BlueScreenView - View blue screen of death (STOP error) information.
http://www.nirsoft.net/utils/blue_screen_view.html
Blue screen of death analysis
Goes through Windows' crash logs and re-displays every BSOD to assist you in debugging later. Portable. Could be handy.
ブラウザを選ばずWebテストを自動化するSelenium (1/3) - @IT
http://www.atmarkit.co.jp/fjava/rensai4/devtool07/devtool07_1.html
テストケース自動化
How to Debug Bash Scripts | Ayman Hourieh's Blog
http://aymanh.com/how-debug-bash-scripts
On how to trace Bash script execution.
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.
Stephen Oney @ Carnegie Mellon
http://stephenoney.com/firecrystal.php
FireCrystal is a Firefox extension that helps designers and programmers alike figure out how interactive behaviors on the web work. FireCrystal allows users to "rewind" their interactions with web pages while showing the relevant code.
track DOM changes
@igrigorik: "nifty FF extension for replaying / rewinding DOM changes: http://bit.ly/2aGyPH" (from http://twitter.com/igrigorik/status/3839646962)
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
【ハウツー】Webデバッガに新星登場!? 操作を記録し、イベント/DOMを一発解析 - FireCrystal (1) FireCrystalとは | エンタープライズ | マイコミジャーナル
http://journal.mycom.co.jp/articles/2009/09/14/firecrystal/index.html
>>FireCrystalはThe MIT Licenseのもとで公開されている<< >>Webページ上でユーザの操作を記録し、内部でどのようなイベント発生・DOM操作がおこなわれたかを解析して、時系列で表示する。<< >>FireCrystalを使用すればJavaScriptの各所にブレークポイントをわざわざしかける必要もなく、記録開始ボタンを押す→操作をおこなう→記録停止ボタンを押すだけでどこでどのイベントが発生し、DOMの操作がおこなわれたかがわかるようになる。<< >.FireCrystalは現在、アルファ版として位置づけられている。大量のJavaScriptが埋めこまれているWebページで FireCrystalを使用すると、解析に時間がかかったりFirefoxごとクラッシュする場合があると公式サイトでアナウンスがされている。<< >>一部の環境ではセグメンテーションフォルトを起こしてクラッシュする報告もあがっている。利用する際はくれぐれも注意されたい。<< >>どのようなイベントが発生し、どのようなDOM操作がおこなわれたかをバルーンで表示してくれる。<< >>DOM操作の瞬間がアニメーションで表示される<<
これはいい!かも
Plumber Jack: Python Logging 101
http://plumberjack.blogspot.com/2009/09/python-logging-101.html
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"
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.
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前提
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
PHPプログラムを解析して何処が重いか?がブラウザ上で簡単に分かる「XHProf」:phpspot開発日誌
http://phpspot.org/blog/archives/2009/03/phpxhprof.html
PHPでのプロファイリングというとXdebugでファイルを吐き出してWinCacheGrindやKCacheGrindで読み込む(ファイルを吐き出したファイルをGETして、ソフトに読み込ませる)が定番ですが、XHProf を使えば、ブラウザ上で、プロファイリングが出来るみたいです。
XHProf Documentation (Draft) PHPプログラムを解析して何処が重いか?がブラウザ上で簡単に分かる「XHProf」。 通常、PHPでのプロファイリングというと、Xdebugでファイルを吐き出して、WinCacheGrindやKCacheGrindで読み込むというのが定番です。 ですが、この方法だと、ファイルを吐き出したファイルをGETして、ソフトに読み込ませる、というちょっと面倒な手順が必要でした。 XHProf を使えば、ブラウザ上で、プロファイリングが出来るみたいです。 XHProfの特徴 まず、セグメントごとの実行時間やメモリ利用の状況なんかがブラウザで見れます。 プログラムの構造を把握するのにも使えます。
PHPのプログラムを解析して重い処理をブラウザ上に表示する
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 ...
MOONGIFT: » jQueryを使った開発に便利!Firebug + jQuery「FireQuery」:オープンソースを毎日紹介
http://www.moongift.jp/2009/06/firequery/
キターキター、これ便利すぎ(予想)こんなの欲しかった
FireQuery、Firebugと連携するjQuery開発補助アドオン FireQueryはconsole.logに吐き出した内容を元に、画面上のエレメントをハイライトしてくれる。例えば console.log($(’p'));と出せば、コンソールに出力された jQuery(p)という表示にマウスを当てると、該当部分がハイライト表示になる。どの部分に対して適用されているかがすぐに分かる
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/
LinuxParty | - Programar y depurar en un IDE para PHP, plugin phpeclipse, xdebug y Remote debug
http://www.linux-party.com/modules.php?name=News&file=article&sid=4000
Sitio Web de linux_party
Programar y depurar en un IDE para PHP, plugin phpeclipse, xdebug y Remote debug
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/
Page Speed Home
http://code.google.com/intl/ja/speed/page-speed/
Google謹製ウェブサイトパフォーマンス測定アドオン
YahooのYSlow的な
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.
ActionScript 3.0 用デバッグ支援ライブラリいろいろ - てっく煮ブログ
http://d.hatena.ne.jp/nitoyon/20081016/as3_debug_library
ActionScript 3.0 用デバッグ支援ライブラリいろいろ
「仕様です」を避けるためのライブラリ達
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
コードレビューの道具、使っていますか?
http://www.ibm.com/developerworks/jp/opensource/library/j_os-codereview/?ca=drs-jp
Coding Horror: The Problem With Logging
http://www.codinghorror.com/blog/archives/001192.html
Logging level definition
A recent Stack Overflow post described one programmer's logging style. Here's what he logs:
HTTP アプリケーションのデバッグにつかうツール2選 - TokuLog 改めB日記
http://d.hatena.ne.jp/tokuhirom/20090504/1241441349
fiddler2 ngrep
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.
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.
iPhoneのテストモードや各種設定を表示する隠しコマンドのリスト - iPhone・iPod touch ラボ
http://ipodtouchlab.com/2008/11/iphone-secret-commands.html
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.
Google製サイト高速化Firefoxアドオン「Page Speed」を試してみました:phpspot開発日誌
http://phpspot.org/blog/archives/2009/06/googlefirefoxpa.html
JavaScript 等の速度を測定する。Firefox add-on
Windows プログラマなら読んでおきたい「Windowsデバッグの極意」 - てっく煮ブログ
http://d.hatena.ne.jp/nitoyon/20090521/windows_debug
Windowsのデバッグツールが紹介されている
gflags
デバッガづくりの参考にもなりそう.
オススメのデバッグツール9選
.NET な人には、.NET&Windowsプログラマのためのデバッグテクニック徹底解説 が MS 公認だしおすすめ。Visual Studio を使った高度なデバッグテクニックが紹介されている。
PHPスクリプトの遅い部分を簡単に見つける方法 : アシアルブログ
http://blog.asial.co.jp/536
XdebugとWinCacheGrindというソフトを使えばPHPスクリプトのボトルネックを簡単に発見することができます
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.