今王必欲致士 先従隗始 - little debugging principles

Post on 24-May-2015

1.511 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

at Debug hacks conference 2009

TRANSCRIPT

今王必欲致士先従隗始

Little debugging principlesYugui (園田裕貴)

スケールアウト株式会社 / Akasaka.rb

2009年4月23日木曜日

Yugui2009年4月23日木曜日

スケールアウト㈱

2009年4月23日木曜日

Akasaka.rb2009年4月23日木曜日

内容2009年4月23日木曜日

共有2009年4月23日木曜日

先従隗始

2009年4月23日木曜日

問2009年4月23日木曜日

12009年4月23日木曜日

デバッグしない

2009年4月23日木曜日

22009年4月23日木曜日

データの流れ

2009年4月23日木曜日

対象2009年4月23日木曜日

User land

2009年4月23日木曜日

高 水準2009年4月23日木曜日

反復可能

2009年4月23日木曜日

難2009年4月23日木曜日

hardware

2009年4月23日木曜日

一次キャッシュ

2009年4月23日木曜日

並列2009年4月23日木曜日

thread2009年4月23日木曜日

非 同期2009年4月23日木曜日

シグナル

2009年4月23日木曜日

バイナリ

2009年4月23日木曜日

printf2009年4月23日木曜日

事例2009年4月23日木曜日

Ruby2009年4月23日木曜日

Rails2009年4月23日木曜日

始2009年4月23日木曜日

Debug2009年4月23日木曜日

段階2009年4月23日木曜日

再現2009年4月23日木曜日

特定2009年4月23日木曜日

修正2009年4月23日木曜日

再現2009年4月23日木曜日

ログ2009年4月23日木曜日

例2009年4月23日木曜日

Exception Notification

2009年4月23日木曜日

Rails2009年4月23日木曜日

web app

2009年4月23日木曜日

エラー2009年4月23日木曜日

メール2009年4月23日木曜日

入力2009年4月23日木曜日

セッション2009年4月23日木曜日

スタックトレース

2009年4月23日木曜日

結論2009年4月23日木曜日

ログ重要

2009年4月23日木曜日

本題2009年4月23日木曜日

特定2009年4月23日木曜日

易2009年4月23日木曜日

自明2009年4月23日木曜日

方法2009年4月23日木曜日

書かない

2009年4月23日木曜日

BDD2009年4月23日木曜日

describe MailingList, '#create_message_for' do fixtures :mailing_lists

before do @email = stub(:email) @message = stub(:message) end

# ... 略

it "returns nil if the resolver can't resolve the email as a message for the list" do @resolver.stub!(:resolve).and_return(nil) @ml.create_message_for(@email).should be_nil endend

2009年4月23日木曜日

仕様2009年4月23日木曜日

必要最低限

2009年4月23日木曜日

現実2009年4月23日木曜日

Legacy Code

2009年4月23日木曜日

WEwLC

2009年4月23日木曜日

テストがない

2009年4月23日木曜日

何故必要か

2009年4月23日木曜日

→2009年4月23日木曜日

仕様記述

2009年4月23日木曜日

不明2009年4月23日木曜日

削除2009年4月23日木曜日

動作2009年4月23日木曜日

不要2009年4月23日木曜日

エラー2009年4月23日木曜日

テストケース

2009年4月23日木曜日

Debug?2009年4月23日木曜日

CodeReading

2009年4月23日木曜日

表明2009年4月23日木曜日

DbC2009年4月23日木曜日

例2009年4月23日木曜日

#define ARY_SET_LEN(ary, n) do { \ if (ARY_EMBED_P(ary)) { \ ARY_SET_EMBED_LEN(ary, n); \ } \ else { \ ARY_SET_HEAP_LEN(ary, n); \ } \ assert(RARRAY_LEN(ary) == n); \} while (0)

2009年4月23日木曜日

#define ARY_SET_HEAP_LEN(ary, n) do { \ assert(!ARY_EMBED_P(ary)); \ RARRAY(ary)->as.heap.len = n; \} while (0)

2009年4月23日木曜日

2009年4月23日木曜日

敗北2009年4月23日木曜日

敗北2009年4月23日木曜日

what→ who

2009年4月23日木曜日

what2009年4月23日木曜日

core2009年4月23日木曜日

gdb -c2009年4月23日木曜日

attach2009年4月23日木曜日

二分探索

2009年4月23日木曜日

tracer?

2009年4月23日木曜日

who2009年4月23日木曜日

データの流れ

2009年4月23日木曜日

who killedcook robin?

2009年4月23日木曜日

誰がデータを壊したか

2009年4月23日木曜日

12009年4月23日木曜日

自明2009年4月23日木曜日

22009年4月23日木曜日

up2009年4月23日木曜日

32009年4月23日木曜日

watch2009年4月23日木曜日

cond2009年4月23日木曜日

データ抽出

2009年4月23日木曜日

define2009年4月23日木曜日

define rb_classname call classname($arg0) rb_p $ print *(struct RClass*)$arg0end

# .gdbinit

2009年4月23日木曜日

シンボル

2009年4月23日木曜日

debug.c2009年4月23日木曜日

敗北2009年4月23日木曜日

試行2009年4月23日木曜日

終2009年4月23日木曜日

top related