Pocket PC Networking >> remote debugging with vs 2005, as 4.0 disconnet tcp/ip stack (ethernet/wlan)

by Thorsten Giesecke » Tue, 11 Oct 2005 21:10:06 GMT

Hi,

how can I remote debug an application that requires an open tcp/ip
connection?

i use vs 2005 beta 2 together with activesync 4 and windows mobile 5
on a mda pro device.

everytime i start a debug session (activesync requires a direct connection
via usb),
activesync terminates all tcp connections.

after that, the application cannot use any tcp/ip socket connections via
ethernet or
wlan until i remove the usb cable.

but then the debug session terminates with an exception.

with vs 2003, active sync 3.x and pocketpc 2003 everything work fine...

is this a known bug and exists already a workaround for that?

thanks a lot
Thorsten






Similar Threads

1. VS 2005 always starts Firefox when debugging, not IE

During installation of VS2005 Firefox was my default browser. I changed it 
back to IE6 but VS2005 sticks to Firefox when debugging a web site in 
development, whatever I try. How to convince VS2005 to use IE ? If at all, I 
would expect this behaviour the other way around.
-- 
Rumoldus,
The Netherlands

2. Debugging issues with VS 2005 for app originally created in VS 200 - Pocketpc Developer

3. Help: Mandriva 2005: Ethernet card won't get IP address from DHCP server

Hi,
My laptop is connected to the Internet via a LAN served by a DHCP server.
It seems to me that the Ethernet card won't get an IP address from the DHCP
server neither during boot, nor during several "manual" trials using the
respective "drakes" (wizards). Among others, I've tried to use both
dhclient and pump protocol for the card.
Both the laptop and LAN work-I can connect in Win2K also installed (by my
employee) on that laptop.
Enclosed please find outputs of:
a. ifconfig (note eth0 has no "regular" IP address).
b. route (note that originally route was empty. I have manually added that
entry).
c. /etc/resolv.conf is empty.


By the way, can somebody explain me what's the sit0 response to ifconfig
(didn't see this one in former Mandrake versions).


TIA

Michael Badt
=========================


output of ifconfig

eth0      Link encap:Ethernet  HWaddr 00:02:A5:BA:EF:CC  
          inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5930 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:758851 (741.0 Kb)  TX bytes:5580 (5.4 Kb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:10098 (9.8 Kb)  TX bytes:10098 (9.8 Kb)

sit0      Link encap:IPv6-in-IPv4  
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

==========================================================
Output of route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
default         *               0.0.0.0         U     0      0        0 eth0
==========================================================

/etc/resolv.conf is empty

4. Packets from bottom of TCP/IP stack direct to application bypassing stack

5. AS 4.x and syncing over IP (WLAN, Ethernet, do not care)

6. Don't install ActiveSync 4.0 if you use wifi, vpn, or tcp/ip type sync - ActiveSync (Pocket PC)

7. VS 2005 debug very slow

Hello
I'm not sure if this is the right forum but:

I have a Pocket PC project which I am attempting to debug on the device.
Sometimes when I try to debug the IDE attempts to deploy loads of files to 
the device including System.Web.dll,
even though these are already in place.
It takes about 5 minutes to deploy the files, and upon completion an error 
message appears saying that
the device is full.
This only happens sometimes, but not other times,
Is there any way to prevent this and ensure that only files in my project 
are deployed,
Regards
Fergus 


8. Migrating eVC++ 4.0 to VS Studio 2005 - Pocketpc Developer