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.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to