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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:54:01+00:00 2026-06-07T12:54:01+00:00

I want to debug a program by using system.out.println() and what to check the

  • 0

I want to debug a program by using system.out.println() and what to
check the flow and variables value in eclipse while running a JIRA
plugin which is a Servlet .
When I make some changes to the code in eclipse it reflects on the
browser but when I use system.out.println where should i see the
output ?

Example Code :

    @RequiresXsrfCheck
    protected String doExecute()
    {   

        LOG.info("BulkCloneDetails doExecute start...");
        filterUrl = null;
        cloneSubTasks = false;
        cloneAttachments = false;
        deleteAfterClone = false;
        requestId = null;
        issues = null;
        getServerInfoFromPage();  

        **System.out.println("Print something here");**

        errorsCollection.put("filterPath", i18n.getText("Remote login failed"));
        addErrors(errorsCollection);
        return SUCCESS;

    }  
  • 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-07T12:54:04+00:00Added an answer on June 7, 2026 at 12:54 pm

    You can put a tail on a file in Terminal so that you can see how it is interacted with. On a webapp I am working on I use the below method.

    Username$ cd /Applications/tomcat/apache-tomcat-6.0.16/logs
    

    Then type

    tail –f catalina.out 
    

    This will then print to your Terminal window. I have had to use this method on a few projects. I advise you to use system.out.println("Name of the File I am printing from") so that if you have several of such then you will know where they are coming from and in what order.

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

Sidebar

Related Questions

I am in Eclipse and want to debug a program. I'm coding in Java
I want to remote debug the nodejs program in Eclipse. I start the node
I am using gdb to debug a program, and I want to have the
I want to debug TCP/IP interactions for a program I'm enhancing. I don't have
I have a program and want to debug it in gdb. Will I see
I want to debug a multi-threaded program by controlling which threads execute when. I
I'm trying to debug a really large c++/c program in Visual Studio. Changing value
I want to debug a program I wrote. Therefor I'd like to link it
I'm using the .NET WebRequest while changing my HOSTS file. I'm observing that System.Net
Can I debug a program running on a remote target to which I have

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.