To debug an app that fatal errors on install, you must identify the code that is executing on install and make it run -- in the same state -- under the debugger when the debugger loads the application.
Normally this is code that runs in response to sync notification launch code. My standard trick with this is to create a custom build of the app that does not respond to either the sync notification launch code or the normal launch code, but that does execute the deadly code in response to the find launch code. Then you can use the debugger to load the application, do a "go" in Pilot main, and then do a find. Set a breakpoint at the top of the code you suspect & go to town. -bob mckenzie palm portland -----Original Message----- From: Phil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 1:24 PM To: Palm Developer Forum Subject: Continuous Fatal Excpt on Install, fine on Pose others... Hi, I have an app (does some things with web clipping) that upon installation on my Samsung i300 produces a fatal exception error. If I reset the device I get a continuous fatal exception error and have to do a hard reset to erase the app. The thing that I'm stumped on is it only does this on this device and not on the emulator with any number of roms (even 3.5.2 rom which is the same os as the Samsung). It also works fine on a handspring 3.1 os and a palm7 with 3.2 I have, though I think I did see a fatal exception error once on one of these. I dumped the rom to try and load it on the emulator but Pose doesn't support the rom. :( So at this point I'm stuck with basically blocking out massive parts of code to try and see what's causing this. So far I haven't found it.... The only other clue I have is that once I beamed the app to the samsung and upon receipt it gave me an invalid chunk ptr error in Memory.mgr c before it gave me the fatal exception.... I do believe the problem is some underlying code issue but very difficult for me to find given the circumstances. I don't see anway to debug in the cradle because the thing continously gives me a Fatal Exception press reset. Any suggestions?? thanks very much! __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
