That depends on what debugger you're using and what's running your Palm OS
application.

If you're using PalmDebugger, then you should be able to use DbgMessage.

If you're using the CodeWarrior debugger (which I'm assuming because you
said "debug log"), then DbgMessage may or may not work. I know that there
are problems with using DbgMessage when the Palm OS application was running
under the Palm OS Emulator. However, I don't know the nature of the
problem, so I don't know if it applies to debugging over a serial
connection to a real device as well.

If you're using gdb, then I don't know what effect DbgMessage has.

If you're running your application under the Palm OS Emulator version
2.1d<whatever>, you can use the HostFPrintF function in the HostControl.h
file that comes with it in order to log arbitrary information to a log
file.

-- Keith Rollin
-- Palm OS Emulator engineer







[EMAIL PROTECTED] on 03/03/99 09:13:47 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (Keith Rollin/HQ/3Com)
Subject:  How to get DBG output?




Hi,
I am relatively new to palm progamming and was wondering if there was a way
to
get strings output to the debug log when running th debugger. I am lookign
for
something similar to OutputDebugString under windows.

Thansk
Bruce









Reply via email to