> We have an application that we want to test on the SD card of an M505.
>
> Using Codewarrior for PalmOS 7 you can debug directly on the device.
> But is there anyway to debug directly to the SD card. CW7 has the
> regular two options of debugging to emulator, or debugging to device.
> Debugging to the device installs the application to regular palm
> storage.
>
> The test needs to be done on an actual device, not the emulator. Is
> there any way to do it directly to the SD card?
You do realize that programs don't actually run off the SD card -- they
get installed into main memory from the card and deleted when they exit.
While they are running, they are in main memory.
If you just want to debug how your application handles getting launched
off the card, you will need to write a scaffolding program that will
switch to your main application with the appropriate launch code,
sysAppLaunchCmdCardLaunch.
This will be a bit easier with the CodeWarrior V8 debugger -- one of its
new features is the ability to specify a launch code and parameter block
to use when launching the application, which means you could just choose
that command from the list and handle everything within the IDE. You
also will be able to connect to the device and just wait for an embedded
DbgBreak you put in your code, which should be able to handle the case
of launching from the card.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/