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 9234991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:55:13+00:00 2026-06-18T06:55:13+00:00

I am working on very huge java web based application. As there is no

  • 0

I am working on very huge java web based application. As there is no proper logging done while development so its very difficult for me to put break point and debug the app as i dont know execution order. Is there any mechanism to get complete Call Stack of the the running java application after I perform some actions.

I searched it on net for long time but cannot came to concrete solution. Please suggest me if something is there for it. Thanks

  • 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-06-18T06:55:14+00:00Added an answer on June 18, 2026 at 6:55 am

    Method 1: Use jstack utility from command line (part of the JDK distro).

    Method 2: Send signal 3 to the java process, it will dump stack traces on stdout.

    Method 3: Call Thread.getAllStackTraces () from within application:

    public class StackTraceDumper
    {
        public static dumpAllStackTraces ()
        {
            for (Map.Entry <Thread, StackTraceElement []> entry: 
                Thread.getAllStackTraces().entrySet ())
            {
                System.out.println (entry.getKey ().getName () + ":");
                for (StackTraceElement element: entry.getValue ())
                    System.out.println ("\t" + element);
            }
        }
    }
    

    Then use StackTraceDumper.dumpAllStackTraces() where you need to dump stack traces.

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

Sidebar

Related Questions

Currently I'm prototyping search with Lucene.Net-2.0-004 on a web application. It's working very well,
I have developed a simple location aware iPhone application which is functionally working very
I am trying to create my own little MVC system, its working very well,
I am in visual studio 2008 and working on a very huge project which
I am working on a WPF/Prism 4/AvalonDoc application. One of my views is very
I'm working with 2 very different applications. App #1 is a web app where
I have an very, very huge application in WPF with a Ribbon in it.
I'm working on a web app with very aggressive caching. Virtually every component of
In a C# application I am working on I have a very long identifier
I am working with files in C. They are very, very huge files. I

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.