Slooow debugging
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!).
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.
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?
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.
Dan East
Thanks Dan. That's exactly what I wanted to hear.
Cheers,
Dig
Forgive me if I am slow...how do you use an Ethernet connection. Thanks.
I know this was answered, but to add MHO...
You must use Ethernet...there is NOOOO comparison. Debugging is WHY I got the Ethernet card.
Good luck Digby...it's worth it.
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.
Dan East
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.
Hi,
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
Hope this of use
Bad
PS Network cards also stop backups being a drag!
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.
Has en1 seen this behaviour?
thanx
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.
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).
Dan East
And I'm using 3Com CF and 3Com PCMCIA with no probs
Great. Thanks again for the advice.
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?
Xircom ethernet card.
Paul,
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?
Let me know
Bad
It just sits there saying starting server for selected device.

Have you got ActiveSync running and connected?
Active sync does not connect, it says it is unable to find software agent on the host machine.
It looks like it's you ip settings. On
www.cewindows.net there is a section explaining how to doit (for ce2.11). Also on the PocketProjects.com developer forum I started a topic called 'Network debugging', there are some useful links in there.
Sorry I can't be of any more help, I thought you could sync just not download from eVC++
Cheers
Bad
Okay, in your desktop machine do you have 2 cards installed? So if you have a hub intween your devices it works, but if you use a xover cable it won't? Is that using the exact same cards?
Dan East
Yes I have two seperate network cards, a 3COM and an Intel.
Yes with the hub (only one card us used) it works, when I try using the other card instead of a hub it doesn't.
I have verified the other card by putting it as the card connected to the hub.
I would be happy just using the hub, but at home I don't have the extra network socket and a network card is cheaper than a hub and extra cableing.
I will check
www.cewindows.net to see if it has anything to say,
thanks for your help.
Just a quick question. I own a good PCMCIA network card (Linksys Ethernet Combo) that I use all the time on my laptop. Any idea if I can get this to work on a PPC? If yes, do I need an adapter? Which one/ where do I get it?
YEh, I second that question.
muuuhuuuuhaaahaaaa!
That's a good question, with a good answer. I know that I saw a how-to to get a PCMCIA card working with a Casio...but I forget where. I'll dig around and post later.
The iPaq, of course, does not have this problem.
If you had an @migo you'd already have a PCMCIA slot. Either way, the Linksys PCMCIA ethernet cards require a beta Linksys driver to make them function properly.
If you had an @migo you'd already have a PCMCIA slot. Either way, the Linksys PCMCIA ethernet cards require a beta Linksys driver to make them function properly.
Not true. On XP Beta, the card was detected and the driver was automatically installed. For 2K, I used a driver from the website. In both cases, the card worked perfectly.
Anyway, let me know if you find a way to use a PCMCIA device on a PPC..
I am referring to the beta Linksys drivers for PPC and WinCE not for PC use. Obviously, Linksys cards work for desktop PC and laptop OSes.