2009/04/04

CodeSnitch - Entrek

R8070164 (by plateaukao)
Avignon.France

Recently, I've been busy with digging out some possible memory leaks in the program. Without a good memory tracker, it means endless tests with different scenarios in order to narrow down the files where the code defects may lie on.

Some mechanisms are developed for this purpose by other teams; however, it did not help me a lot. Eventually, I gave Entrek CodeSnitch another try. I used it last summer when I just came back from France. The stability of CodeSnitch at that time is horrible! You can't even call it a product. Some patches should be installed in order to make it work on Windows Mobile 5. Even so, some minor tweaks are needed to make it run a little smoothlier. To be worse, it only works with small scale programs. Speaking of our program with a size of around 900 k, don't even think a bout it. Sometimes, the program can't be launched; sometimes, it terminates abnormally. After several weeks' trial, I gave up. I'd rather keep an eye on how I code instead of being a QA for Entrek and discuss the results with their engineers.

But this time, it may be my last resort. I re-checked its website. It seems that Entrek released a new version of CodeSnitch (Well, after all, it's almost a year since I tried it). To my surprise, it runs smoothly with my program this time. Although there's a downloadable trial version, it does not mention that the functionalities are RATHER limited for trial: You can see events and results in the main window; however, you can't see where it happens in the codes (unless you upgrade to paid version).

Well, I believe that my department did buy some licenses from Entrek; so I asked for one the next day. It did do a great job and helped me finding several memory leaks in a short time.

REF:
http://www.entrek.com/

No comments:

Post a Comment

騎士團長殺人事件 --村上春樹

今年的日文小說看完了。篇幅很長,但規模不大,故事都繞著幾個主要的人物。情節裡有些超現實的場景,但最後卻讓人有點意猶未盡,因為有些想搞懂的疑點,在還沒講清之前就結束了。