Debug模式下 window -> show view ->memory 然后就会在console的那一栏出现
在eclipse代码编辑区左边行号除处双击添加断点,然后右键->run as debug
加断点调试,跟VC一样