I don't think you'd have any problem debugging while in interrupt, but I am
sure you'll have problem debugging a shared library.
There is only one solution I know about - make your shared library static or
just part of your program code and that's how you can debug it. This works
for some of the folks here.
I found out it is easier for me to user FrmCustomAlert() or
SndPlaySystemSound() and track the execution paths. Don't forget
FrmCustomAlert() might not work on certain places (e.g. in the Handspring's
CardSetup program you can't have anything to do with UI or the queue in
general), but so far I didn't find a place where the sound can't be played.
Hope this helps,
Claudia ;-)
-----Original Message-----
From: Petrus Wrang� [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 1:12 AM
To: Palm Developer Forum
Subject: Debugging in shared libraries at interrupt level
Hi, I'm using CW R5 with SDK 3.0.
I know this topic has come up several times before, but searching the
archive didn't provide me with a solution.
I've written a shared library with some code that will be run at interrupt
level, and now I want to debug my code.
How can I get the debugging of a shared library to work, and will this
interrupt business be of any trouble when debugging?
I've tried to debug as I would a regular application, but the CW debugger
doesn't seem to start after the lib has been sent to the device.
And if I try to use the emulator for debugging I get an error message saying
"Unknown Error Code: 0x0408".
Should I use the CW option [Menu: Edit/MyProject
Settings.../Debugger/Debugger Settings/Program to launch] in any way when
debugging shared libraries?
Regards
Petrus
--
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/