If it's right after killing your application the the device is rebooting, then
perhaps the problem is because your application is not correctly handling the
"reset" launch code sent to applications at that time.
-- Keith
Van Nguyen <[EMAIL PROTECTED]> on 02/09/2001 01:10:57 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Van Nguyen <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: "Bus Error" AFTER killing running app in debugging mode - Please help
!!!!!
Greetings,
I am using CW6 and Emulator 3.0a8 with
palmos351-en-m100-dbg.rom file to run and debug my
application.
I know that I must have done something incorrectly in
my program because I got a bus error right after I
kill the running app. The error dialog comes up with
Debug, Reset options. However, I can not click on
Debug because it is really no program there anymore
for me to see where this happens. I have read the
archive from the forum, and have tried some of the
recommendations such as
- Check the string declaration ... give rooms for it
- Make sure to call the FrmDrawForm function first
- Make sure that strings are null-terminated
- Look at CtlSetLabel as someone suggested
I still have the "Bus Error" problem right after I
killed the program. I do not really know what to do
because there is really nothing to debug after this
point.
I also rearrange my code, add more segments to make
sure that I don't exceed the jump limitation. This
does not help. There is only 1 function in my code
considered long, I split that, then the problem goes
away. However, if I add 3 more lines of code in the
program, then the bug happens again.
Would you have suggestions that I can try?
I really appreciate any information you can pass
along.
Thank you!
=====
Best regards,
Van Nguyen.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/