I am trying to implement a kind of "halt" in my application for debugging.  
The idea is that when my application hits one of my "asserts" it stops and 
automatically enters debug mode at which time I could connect with it and do 
some debugging - even if its ony a stack trace.  I have it partially working 
using DbgBreak() but only if I had already connected to the device in 
low-level debug mode (shortcut .. 1).  Otherwise it "Fatal Exception's" when 
I hit the DbgBreak() call.

Is there any way around this?

Or is there a better way to do this?

It would also be nice to be able to connect using CW so I could get my 
symbols.  There is a "Connect" item under the "Debug" menu but it is always 
greyed out.  I have tried dropping into console mode using 
SysLaunchConsole() and CW connects but nothing shows up in the 
debugging/trace window.

Thanks in advance for your ideas.

spike


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to