I don't know if this gives you any clues, but regardless of my current
system load (which I try to keep near zero), nothing allow the debugger
to connect more consistantly than exiting CodeWarrior and restarting
it. In some cases, I need to rebuild the project as well. When I do
this, I get perfect, instant connections for awhile... until the dreaded
"Connection Failed" occurs and crashes poor Poser. Then nothing can fix
the problem short of restarting Code Warrior.
Anotherwords, there is something in the state of Codewarrior that is
getting screwed up during a connection failure.
BTW - the latest version of the debugger seems about the same for
initial failure, but much MORE often than before fails during debugging
- in fact, with the current version, I nolonger even bother using F10 or
F11, since it loses connection after 3-5 of those.
I'm usnig WIndows 95 BTW...
Any advice would be useful.
- Jeff
P.S. -> I know this would take a LOT of programming, but since the PC
Emulator is so incredibly slow (I estimate it as maybe 5% the speed of a
Palm IIIc on my P166), would it be possible to make an "emulator direct"
native communication/debugging layer rather than using the emulated
serial connection? Even when the connection works, it still takes 8-15
seconds for a single instruction step over - barely usable. It's
actually faster debugging with my real Palm, although that's not safe.
:(
Jun-Kiat Lam wrote:
>
> Assuming you are using R6, the latest debugger plugins should work much
> better. They are at ftp://palm:[EMAIL PROTECTED]. But that said
> though, if the system is extremely busy (e.g. building the CodeWarrior IDE
> :-) and you are trying to debug at the same time connections can still
> fail. But let me know the details about it. Believe me, if I had a magic
> bullet to fix this problem, I would have used it. Sigh..:-(
>
> Rgds,
> Jun-Kiat Lam
> Metrowerks Technical Support
>
> At 06:49 PM 8/17/2000 -0400, DIAMOND JEFF wrote:
> >I am using the debugger with a IIIc and POSE, and I've found the
> >connection EXTREMLEY buggy (usually I have an 80% failure rate), and
> >that didn't change with the latest update.
> >
> >Here are things I do to attempt to connect to a debug device, in orders
> >of increasing desperation:
> >
> >=> Disable all breakpoints, or if none are enabled, enable one. (This
> >works some of the time.)
> >=> Reset the device.
> >=> In POSE, load a fresh ROM
> >=> Completely rebuild my project
> >=> Close CodeWarrior and reopen it.
> >
> >In general, I never expect to get too many successful connections before
> >i have to reload Codewarrior.
> >
> >It's inconvenient, and on a larger project the rebuilds would REALLY be
> >a pain, but when I perservere like this I can usually get a debug
> >connection often enough to do some basic test runs.
> >
> >Now, I'm not using a visor, but maybe some of this will help.
> >
> >- Jeff
> >
> >
> >Dan Samber wrote:
> > >
> > > Until now, I have been happily debugging my programs on my Visor.
> > > >From everything I read, it seems like I should be able to step through
> > > my code and use the Codewarrior debugger on POSE instead.
> > >
> > > So far..... nuttin! Either I get a "failed to connect to remote" or some
> > > mysterious error number from Codewarrior. I thought that all I'd have to
> > > do was have POSE running and have my palm connection setting set
> > > to "emulator". I even tried writing the infamous shortcut .. 2 into POSE
> > > (which is what I do on my Visor to put it into console mode).
> > >
> > > I have read GOBS of documentation on the debugger itself... to no avail!
> > >
> > > Please help me save my batteries!
> > >
> > > Thanks,
> > >
> > > Dan
> > >
> > > --
> > > 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/
>
> --
> 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/