how to debugg a native C/C++ cocos2dx code in Eclipse for android platform

I Have developed a game application for iphone in cocos2dx C*+ code , the same code i have ported to android using eclipse ide but the app is crashing in randomly in android phone , but the same is working fine in iphone without crashes ,i want to know detailed steps of debugging C*+ Code in eclipse so far i have tried many tutorials to enable debugging of c++ code in eclipse without success ,please help me?

ARM’s DS-5 can debug C++ code. It’s a plugin for eclipse.

may i know how to use ARM’s DS-5 to debug my project in eclipse