Hi all and thanks for quick responses.
Log.w .. I know this command but the problem is that when an error occurs calling a function about the android SDK the exception is null ...so the Log.w() command doesn't print anything useful
About the debugging link from raj_J2ME this is very clear but it seems that the debug dowsn't work very well about android exceptions
I'll try to better explain my opinion , even if it could be wrong :
- if I put this code
int a = 10;
int b = 0;
int c = a/b;
the debug and the log.w() tell me that there is a divide by zero Exception and it show me the right line of error, 'casue , I think , the error is about Java core..
if i put this code
Button b = (Button)findViewById(R.id.Textview);
catch (Exception error)
I get the exception on line b.isPressed (exception found with breakpoint ) because the cast to Button is not correct : Textview is not a Button
but the exception error is null ...
this is strange for me , probbaly I am worrying for nothing and common errors in developing android application is on java core functions and not in android SDK function but it seems strange to me 'cause you use a lot of android specifics function and object ...