Hi the experts, I am some bugs in my program but can not catch them and fix them. Please help me.
I run the program the 1st time, inside the program, I get "index out of range" error. I have to reset the program. I run it the 2nd time, I get "bus error", the program doesn't run. I have to delete it and load it back before it can be run again. I step through the program, set break points all over the places but in the middle of the program, after one breakpoint, before the next break point, I get "index out of range" error. I step throught the program, step by step, sometimes the program jumps into the Assembly code, then jump back to my code. After a while, it goes in the evenloop and I miss the message sent back from the serial port, the program behaves differently... (I should get the message from the com port, process that message and so on). When the program jumps to the Assembly code, doesn't it mean it catch an exception? I am checking the code to make sure I don't have the "out of range" bugs when I access the database. I check to make sure I do not overflow the strings in my program. What else I should check? I think I may have bugs because word alignment. Please tell me what I have to do. I can duplicate the bug but can not catch it. What can I do? Thank you for your respond. tnn ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
