Hi all,

  I face a weird (for me) problem while debugging. The program jump to 
  to a function named myFormInit() while frmOpenEvent, while break, gdb
  show the backtrace as:

#0  DateBookFormInit () at BuyForm.cpp:327
#1  0x27ca2 in SelectCell () at BuyForm.cpp:394
#2  0x10c4cf1e in ?? ()
#3  0x29060 in AppEventLoop () at main.cpp:347#4  0x29178 in StarterPilotMain (cmd=0, 
cmdPBP=0x0, launchFlags=142)
    at main.cpp:452
#5  0x291aa in PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142)
    at main.cpp:482
#6  0x26c52 in __code_section_count ()

  while my code is similar to:
      [BuyForm.cpp]
      ....
      case frmOpenEvent:
                        frmP = FrmGetActiveForm();
                        myFormInit();
                        FrmDrawForm( frmP );
     ......

  I don't understand why the #2 would come out as "?? ()" and the #1 should be the line
  myFormInit(); under frmOpenEvent (though it show SelectCell...). Is this caused by 
the
  multi-segmenting code?? Anybody understand this scenerio and having a explanation?
  The program would go nowhere after continue for a while  (and the back trace showing 
all ?? ).

  Appreciated for any comment.
  Thanks.

--
yowkee



_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://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