My application causes PalmSim to crash when running gremlins. Yes, I
know the bug is in my app, not in PalmSim.

When I stop gremlins at the event just before the crash, I can see that
my app is all screwed up. I am pulling out my hair trying to debug this.
Unfortunately the problem does not occur with POSE, only with PalmSim.

I am using prc-tools w/gdb.

Here are some more details:

1) If I exit and restart my app to get gdb to stop at PilotMain, the
problem goes away.

2) If I attach GDB prior to running gremlins, I get a bezillion stops
entering PilotMain as gremlins repeatedly runs the find command. Note
that my bug involves use of the find command, so I can't turn it off.

Question: is there any way to stop gdb from breaking at PilotMain and
still be able to use it to debug the app? Maybe by turning off the gdbS
feature after my app's initial startup???

3) I'm willing to debug with PalmDebugger, but I can't figure out how to
attach it to PalmSim. PalmDebugger works fine with POSE, but when I try
to attach it to PalmSim I get error "CmdGetRemoteState: error in
SlkReceivePacket = Serial Link timeout." Connection is set to
"Emulator".

Question: Is there a way to use PalmDebugger with PalmSim???

Any ideas on how to attack this would be appreciated.

Thanks...

Dave


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

Reply via email to