Do the following :
1). Download & install samsung Kies driver on your PC.(http://www.mkyong.com/android/where-to-download-samsung-galaxy-s2-usb-driver/)
2). Turn on USB debugging on your device: Settings -> Applications ->Development -> USB debugging
3). Connect your samsung galaxy with the PC.
5). Run the app mannually (Select the device at runtime).
Log cat is used trace the errors:
If logcat is not visible go to Window -> show view -> other -> android -> log cat