Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6811125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:17:21+00:00 2026-05-26T20:17:21+00:00

I currently need to debug the communications between my application and the server. I

  • 0

I currently need to debug the communications between my application and the server. I have been able to capture the packets by launching the emulator with the tcpdump switch:

%emulator -tcpdump emulator.cap @MyDroid

The problem I have, is that I need to shutdown the emulator before I can open the emulator.cap file in Wireshark. Otherwise, Wireshark will complain that the capture is incomplete. This process is very very slow. I would like to be able to get a live view of the emulator.cap file in Wireshark.

It seems that this should be possible using pipes. I am doing my development on OS X and have tried Way 1 and Way 2 from this guide: http://wiki.wireshark.org/CaptureSetup/Pipes.

It at least allows me to view a snapshot of the capture, but I am not getting a view that updates in real time. Clicking the refresh button in Wireshark does not update the packets captured. I have to close and re-open Wireshark to get an update (which is way faster than relaunching the emulator).

What are the steps to view a live capture from the Android emulator in Wireshark on OS X?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:17:21+00:00Added an answer on May 26, 2026 at 8:17 pm

    Start by creating a named pipe and open Wireshark to read from it. Then, direct the emulator’s tcpdump to write to that same named pipe. Wireshark appears to be sensitive to having things done in this order, otherwise it will complain about the libcap format.

    Here are the commands:

    %mkfifo /tmp/emulator
    %wireshark -k -i /tmp/emulator &
    %emulator -tcpdump /tmp/emulator @MyDroid
    

    Update:

    After using this for a little while, it seems to be brittle. I’ve had Wireshark complain about a packet, and the only way to recover was by going through all of these steps again. Is there a better/more robust solution?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a need for a custom ListViewItem class - let's call it
I need some help about WCF and authorization. Currently I have a client which
Currently my application writes debug messages and exceptions to a log file in a
I need to call exec and build a wix setup project. Currently I have
I have a game I'm writing that I need to debug a certain feature
I currently develop C++ and C# applications with VS2008. I have the need to
please, i was previously able to debug my application in flash builder. but then,
I need to debug a WCF service but it needs to have an HTTP
I have a AHK script which I need to debug. I basically want to
Currently I need to run two queries to get both the total amount of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.