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/

沒有留言:

張貼留言

乩童警探 一二集

接連看了兩集。第一集還算新鮮,到了第二集就看得比較慢了。一來,劇情雖然常會提到乩童,但真的跟乩童又沒有什麼關係。第二集後半大概就猜出是怎麼一回事了,但還是很享受在作者解釋的過程。只是前面舖陳有點久,而且人物有點多,再加上我是斷斷續續的看,看到後來都快忘了誰是誰,或是誰曾經出過什麼...