I am developing an Android application where I get the following exception while writing to the database:
An exception occurred: android.database.sqlite.SQLiteException
But it doest say anything else(not even the stack trace).
In general I find it very difficult to debug android SDK exceptions.
Any suggestions/tips on how to debug while developing android applications?
- I am using Eclipse to develop the application.
You need to learn how to Debug in Eclipse and how to use the ADB and DDMS tools.
In order to get more details about an exception/force close you need to look for a view in Eclipse called Logcat(you will find in the DDMS perspective) there you will find a detailed traceback when/what and on what line is the issue.
For this you should read a complete article about Debugging in Android using Eclipse
(source: droidnova.com)