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

  • Home
  • SEARCH
  • 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 3433472
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:34:40+00:00 2026-05-18T07:34:40+00:00

A lot of time when I’m debugging my app, I click around and end

  • 0

A lot of time when I’m debugging my app, I click around and end up in an activity, but I’m not 100% sure which one. This happens in my latest project, which I inherited from someone else.

I want an easy method of figuring out which activity I’m currently in, not programmatically for the program to know, but for my brain. I see ActivityManager does say something like “Displayed activity foo” in logcat, but sometimes this message quickly goes away because of other logging.

Ideally, the current activity class would be displayed somewhere at all times, or there would be something similar to Firebug’s Inspect button but for activities. I looked around the DDMS perspective and didn’t find it there either.

Any ideas?

  • 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-18T07:34:41+00:00Added an answer on May 18, 2026 at 7:34 am

    The hierarchyviewer is fine for this, but perhaps a bit heavy duty.

    Try this from command line:

    adb logcat |grep "Starting activity"
    

    Every time you start a new activity there will a line printed.

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

Sidebar

Related Questions

I spent a lot of time recently reading about debugging. One of the aspects
A lot of time I see jQuery code that looks like this: $('a').live( 'click',
The question seems quite stupid, but I spent quite a lot of time trying
I have spent lot of time doing research on VIM. I am Windows guy
I waste a lot of time between Vim and Python. I find it too
A lot of the time I will have a Business object that has a
Our software manages a lot of data feeds from various sources: real time replicated
I make a lot of web applications and from time to time I need
From time to time my applications GUI stops redrawing. There a lot of threads
Does anyone know how sites that have a real-time feed of a lot 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.