Trouble and frustration with the Android debugger -
so far bought half dozen android books , yet couldn't find 1 talks debugging in reasonable depth other scratching surface.
i'm getting frustrated fact debugger, when finds problem, times shows line in code problem happening , other times shows "source not found" error in class file editor. (i attached screen-shot below).
when debugger shows line (in code) execution stops clear understand what's happening , easy figure out problem is.
but when "source not found" message it's hard figure problem happening, don't know start , have put breakpoints on place until can reduce area , pin point problem.
doing way really... really... time consuming, should when "source not found" appears, clue of location of problem? there view or else i'm missing? how guys when happens? in advance.

the line printed in logcat. hit run until stops breaking, , check logfile. gives complete stack trace there.
ok, i'm going geeezer jerk minute. debugger crutch. first reaction programmer should check log file. log file give context, , won't able run debugger (you're running on interrupt, code running on remote machine don't have access to, code running language doesn't have exceptions, crash hard crash , brings down computer, etc). checking debugger should step 3 or 4, not step 1.
Comments
Post a Comment