Fiddler is an HTTP debugging agent that can record all the HTTP traffic between your computer and the Internet, Fiddler can also allow you to check all HTTP traffic, set breakpoints, and fiddle all "in and out" data (referring to Cookie,html,js, CSS and other files, which can make you arbitrarily modify the meaning). Fiddler is simpler than other network debuggers because it exposes only HTTP traffic and provides a user-friendly format.
The most frustrating thing for a colleague from Android development is a real-life grab bag, and then fiddler can help you solve the problem, and here are the steps I use to use it:
1. Fiddler (http://fiddler2.com/)
2. Install to the computer, my computer system is Win7
3. Open the Fiddler software, the interface and other capture software is roughly the same as the following:
4. Below we will enter the focus, the real machine grabbed the bag, first of all, to ensure that the installation of Fiddler computer and your phone in the same LAN, because Fiddler is just a proxy, you need to point the mobile phone agent to the PC, can not visit each other is not possible.
5. Open Fiddler remote Connection, Fiddler main Menu Tools, Fiddler options...-> connections tab, check Allowremote computers to connect. As follows:
6. After the remote connection is turned on, restart Fiddler, or the remote configuration you just opened will not be updated
7. The following starts to set up the phone end, get the IP address of the PC, my IP address is: 192.168.2.121
8. Open your phone's settings screen:
9. Now it's time to start grabbing the bag: Open the Fiddler software:
10. If you feel that crawling data is not convenient enough, you can add filters:
Will only crawl this specified IP data, is not very convenient ah, hehe!
Fiddler software specific tutorials can refer to the website: http://kb.cnblogs.com/page/130367/
Android phone Fildder real machine grab bag