Are you using the emulator version of HostFS or the one that was modified for 
the Palm OS Simulator?  They are different.

-----Original Message-----

From:  "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]>
Subj:  Re: How do I debug on the device?
Date:  Wed Apr 27, 2005 1:20 pm
Size:  1K
To:  "Palm Developer Forum" <[email protected]>

> Yes, "Mounted" checkbox is that what simulates card insertion. The
> control should go to the handler that you registered via
> SysNotifyRegister.

But I don't even reach there. It's the *launcher* that crashes with invalid 
instruction; my application never gets called. If I choose to debug when the 
crash occurs, the stack shows

3 ErrDisplayFileLineMsg() 
2 PrvAdjustNumSlots() 
1 FSCustomControl() 

It looks as if it is HostFS that has crashed. If I reset from here, the next 
crash is in Prefs and the stack looks like this:

2 PilotMain() 
1 __Startup__() 

but that's still not my application. Another crash later - again the Launcher 
this time - the stack looks like this:

6 ErrDisplayFileLineMsg() 
5 PrvCreateLauncherDir() 
4 FindLauncherVolumes() 
3 StartApplication() 
2 PilotMain() 
1 __Startup__() 

And, no, that's still not my application.

Finally (keep clicking Continue on each crash) the launcher shows the 
applications and my application was never called. :-(

> Maybe you should check the parameters to that call.

What's there to check? I essentially just do

SysCurAppDatabase (&cardNo, &dbID);
if (romVersion >= version40)
SysNotifyRegister (cardNo, dbID, sysNotifyVolumeMountedEvent, NULL, 
sysNotifyNormalPriority, NULL);

:-(((

Regards,
Vesselin
-- 
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/

Reply via email to