Article # 121, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Debugging tips for difficult problems
These suggestions were given by the OmniGo development team who had to track down several of their more difficult bugs with these techniques. - Use showcalls -o to watch how far the application gets before it dies. - Then put tons of sprintf statements in all suspect routines and have them write to a logfile. You can then further pinpoint the problem by examining the logfile. - Once you've narrowed down to a particular function, examine the code and postulate theories as to how it could be failing. Try various solutions until something works.