Using the Network Log Viewer tool

Once you've used the Remote Logging Configuration tool to enable logging, you can use the Network Log Viewer tool to view the generated logs. You can launch the Network Log Viewer tool from the Start | All Programs | .NET Compact Framework Power Toys 3.5 menu on your development machine. Navigate to the File | Open menu, and browse for the netcf_Network.log file. Once you've opened it, you should be able to see a screen similar to the following screenshot:

flij .WET Compact Framework Network Log Viewer | □ |pÜ~|l*

Fife View flij .WET Compact Framework Network Log Viewer | □ |pÜ~|l*

Fife View

Tinges tamp

L I Record Name

Record Class

SubSystemi

Type

1 Byte

Received

Bytes Ser ■*• |

3

17:&3.0DD0D0D+S

end selectQ

Endl Action

Core Networking

(nil)

(null]

3

17:53.0DDDDD&+&

start recvQ

Start Action

Core Networking

(nil)

(null)

3

17:53.ÜDDDDD&+&

end recvQ

End Action

Core Networking

1460

(null)

3

17:53.00DDDM>tB

start selectQ

Start Action

Core Networking

(nil)

(null)

. I

3

17:53.0DDDDD&+&

end selectQ

Endl Action

Core Networking

(nil)

(null)

3

17:53.ÜDDDDD&+&

start recvQ

Start Action

Core Networking

(nil)

(null)

-,

j n

i- J s i-

hi J.

j -

n rin

■ 1

i

1

1

...„. ^

Error Cede

M iThe operation completed successfully)

-

a... 1

Hex

Text

B/tes Received

1460

0

4S 5 4

54 50

2F

31

2E

HTTP/1.

Ii

0 Bytes Logged

HTTP/1.1 200 OK. .Cache-Control: private, max-age=0..Conte—

7

31 20

32 30

3L>

20

4F

1 200 O

15

65 2D

43 6F

6F

74

72

e-contr

Bytes Logged

u:

6F SC

3A 20

70

72

69

ol : pri

23

76 61

74 65

2C

20

6D

vate, m

2A

61 73

2D 61

67

65

3D

ax-age=

31

30 OD

OA 13

6F

6E

74

o. .cont

1r

6f

74 ?n

4 r

65

6f

pnr-i

The log viewer shows each network event and packet of data that is sent or received between the mobile device/emulator and the remote service, in sequential order. This is particularly useful when you need to know at which stage exactly an error occurs in a network communication failure.

Was this article helpful?

0 0

Post a comment