Page 1 of 2

Slooow debugging

PostPosted: May 21, 2001 @ 7:49pm
by Digby
Remote debugging over the USB ActiveSync connection from my PC to my iPaq is hideously slow.  Seems to take about a minute from when I start my app to when the app actually starts to run (what in the hell is "synchronizing exception info" and why is it so slow!).  <br><br>Single-stepping a line of code takes about 4 seconds per step.  I've closed all the update windows in eVC (Watch, Registers, etc.) in hopes that would speed up single-step debugging, but it doesn't.<br><br>I'm wondering if I used an Ethernet connection if it would be any faster.  Do any of you see slow debugging as I do?  Do you just live with it, or do you have a trick you can share to speed things up?<br><br>

Re: Slooow debugging

PostPosted: May 21, 2001 @ 8:06pm
by Dan East
Ethernet blows USB away. There is no comparison. It is 50 times faster, and that is no exaggeration. It takes less than 2 seconds to begin debugging, and stepping is instantaneous.<br><br>Dan East

Re: Slooow debugging

PostPosted: May 21, 2001 @ 8:47pm
by Digby
Thanks Dan.  That's exactly what I wanted to hear.<br><br>Cheers,<br>Dig<br><br>

Re: Slooow debugging

PostPosted: Sep 20, 2001 @ 11:08pm
by Vickerto
Forgive me if I am slow...how do you use an Ethernet connection.  Thanks.

Re: Slooow debugging

PostPosted: Sep 20, 2001 @ 11:50pm
by RICoder
I know this was answered, but to add MHO...<br><br>You must use Ethernet...there is NOOOO comparison.  Debugging is WHY I got the Ethernet card.<br><br>Good luck Digby...it's worth it.

Re: Slooow debugging

PostPosted: Sep 20, 2001 @ 11:57pm
by Dan East
You have to install an ethernet card into your PC, then get a network hub, and finally a CompactFlash Ethernet card for your Pocket PC (the latter being the most expensive). I think you can get a hub and ethernet card for your PC at Wal-Mart in a kit for $50 USD or so.<br><br>Dan East

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 12:39am
by Vickerto
Thanks for the reply, Dan.  I have a hub and an ethernet card.  I'll have to see if I can get my company to spring for the flash card.

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 6:26am
by BadBazza
Hi,<br><br>50 times faster is no exaggeration and it is also the reason I bought ethernet cards. If you are only connecting you PC to your Pocket PC you do not require a hub, you can use a crossover cable (sometimes called a trwisted pair) which normally has to be bought seperately<br><br>Hope this of use<br><br>Bad<br><br>PS Network cards also stop backups being a drag!<br>

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 8:41am
by cryo
i also use LAN debugging with my iPAQ, which is WAYS better than USB. But i am having a quite annoying problem. Each time i transfer the newly compiled .exe to the iPAQ via LAN the screen goes mad flashing and displaying waste all over. After the transfer is done, it returns almost to normality, but with a short flickering each minute or so.<br>Has en1 seen this behaviour?<br><br>thanx

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 9:14am
by Dan East
The screen on your iPaq goes wild? I've never seen anything like that, and I've debugged 5 or 6 different types of devices over ethernet.<br><br>Dan East

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 9:16am
by Dan East
Vickerto, I recommend Socket's Low Power Ethernet card. We have several of them in both CF and PCMCIA form factor, and they have all worked great in a myriad of Windows CE devices (and laptops).<br><br>Dan East

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 9:21am
by BadBazza
And I'm using 3Com CF and 3Com PCMCIA with no probs

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 9:22am
by Vickerto
Great.  Thanks again for the advice.

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 10:58am
by Captain_Chickenpants
I cannot seem to get Ethernet working when connected directly to a second network card in my PC (using a xover cable). When I plug into the network (with a normal cable) it connects fine. any ideas?<br><br>Xircom ethernet card.

Re: Slooow debugging

PostPosted: Sep 21, 2001 @ 11:56am
by BadBazza
Paul,<br><br>Using the ethernet card can you go into eVC++/Tools/Configure Platform Manager, select your device and go to properties. select tcp/ip and then hit the test button. Does the test work?<br><br>Let me know<br><br>Bad