Debug Information
Monkey Targets Forums/Android/Debug Information| 
 | ||
| Hi all, just tried building a game on Android for the first time and while it builds and deploys to my phone, running the game causes it to hang and/or "close unexpectedly". I've tried it on a HTC Desire and a HTC One X and get the same. I've tried running Samah's virtual stick code and it's fine. This makes me think it's something I am doing, but because I'm getting no feedback, I'm not sure where to look. Is there anyway I can get this information? (I am building as debug) Ta :D | 
| 
 | ||
| Looks very similar to this: http://monkeycoder.co.nz/Community/posts.php?topic=2992 but the solution for Gerry didn't work for me. Am using Monkey 58. | 
| 
 | ||
| Ok the answer is to run.. c:\android-sdk\tools\ddms.bat Run the app on your emulator/phone and then select the game process in the Dalvik Debug Monitor. I appear to be causing a memory leak somewhere :S | 
| 
 | ||
| yup DDMS for the win. This is where Print() statements will show up, and you can add a filter with "monkey*", although sometimes the verbose messaging can be useful. |