> (i have to debug with device not POSE , no ROM image for my device) Not true. Pick a debug ROM that has a similar version. POSE + a debug ROM will reveal errors in your code that you won't catch debugging on an actual device. Anyway, this is a total guess but, I'll bet you are under allocating memory for one of your strings and when you strcpy, memcpy, etc you are overwriting low memory or some other critical OS variable (thus locking up your unit). Sometimes debugging on the unit doesn't catch such errors. Debug using POSE and a debug ROM (any debug ROM). You won't be sorry.
----- Original Message ----- From: "Jordon Marshall" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, February 04, 2003 6:26 PM Subject: Confused - Program freezing > Hi everyone; > > I have an application that I am writing for our company salesman. This > application is my first, so this error may be trivial. This program should > allow the salesman to input a account number, the program will then search a > large array. Upon finding a matching number the program will place the > store city, state, and name in the appropriate fields. These arrays that I > am searching are 1000 elements a piece. Therefore I put them into their own > segment, and only access them from that segment (don't know if that was > neccesary or not). My application works just like it is supposed to with 1 > or 2 arrays included in the calculations, but not with all 3. It does not > seem to matter which two I do include first though, the program always works > with only 2 arrays involved. The problem comes when I put in the left out > array - but the problem does not surface until later. The program will do > the calculations and searches with all 3 arrays just fine, but later in the > program the program freezes upon opening up a form (freezes in 6 of 7 forms > accessed). I ran the program in debug mode (i have to debug with device not > POSE , no ROM image for my device), in debug mode I run through the exact > same sequence but the program will not crash. As soon as I run it normally > though the program will freeze. > > Any thoughts would be appreciated > Jordan Marshall > > P.S. Sorry for the long-winded explanation > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
