juan_gandhi: (Default)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2007-09-20 03:41 pm

three days mostly lost!

Yes, I am a fan of IntelliJ. Still. But last week a "method breakpoint" somehow penetrated my code. How the fuck did I know it makes the code 30 times slower? I spent interesting time looking for the causes of possible network delays; I found stupid bugs in java.text classes (made by one of my colleagues); I bugged unsuccessfully my colleagues.

Until I discovered in a mail thread that METHOD BREAKPOINTS DRASTICALLY SLOW INTELLIJ.

Drastically is the word. Imaging you have bugs to fix, and you cannot even run the server, for 3 days in a row.

[identity profile] xryun-porosyan.livejournal.com 2007-09-21 05:01 am (UTC)(link)
Offtopic: а почему Google search engine в Firefox когда я печатаю по русски "по" в качестве первого варианта сразу же предлагает мне "по хую"?

[identity profile] deni-ok.livejournal.com 2007-09-21 05:14 am (UTC)(link)
У меня "погода".
Видимо такова личная история поисков ;)
Персонификация, однако...

[identity profile] xryun-porosyan.livejournal.com 2007-09-21 05:16 am (UTC)(link)
Пааапрааашу!
Я хуи не искал :)

[identity profile] ivan-gandhi.livejournal.com 2007-09-21 04:37 pm (UTC)(link)
Это у тебя по хую; у меня - по принуждению. (Стоит задуматься, однако.)

Просто наш Фил видит тебя насквозь. Рентген.

[identity profile] xryun-porosyan.livejournal.com 2007-09-21 05:05 pm (UTC)(link)
Я сейчас с работы попробовал, и тоже пишет "по принуждению" А из дома: "по хую"


ГЕНИАЛЬНО!!!!

[identity profile] ivan-gandhi.livejournal.com 2007-09-21 07:13 pm (UTC)(link)
See here (http://ivan-ghandhi.livejournal.com/579283.html).
nine_k: A stream of colors expanding from brain (Default)

[personal profile] nine_k 2007-09-21 09:52 pm (UTC)(link)
That's why I strictly prefer logging in such cases.

Debugging is only good when you have a rather small piece of code that behaves strangely right before your eyes, or for getting stack trace / program state from crash dumps.

IMHO, of course.

[identity profile] ivan-gandhi.livejournal.com 2007-09-21 11:16 pm (UTC)(link)
Sure... and run it from command line.

In my case, I spent two days figuring out how to run it from cl.

In general, there's a better way: unittesting. But in our team we are just starting having really using it. Unfortunately.

[identity profile] nicity.livejournal.com 2007-09-25 02:10 pm (UTC)(link)
особенность использования JDI,
на входе и выходе в каждый метод проверяется, то ли это метод, на который стоит брекпоинт