pass values to particular method while debugging

Posted on 2004-11-10
Last Modified: 2010-03-31
while debugging in jdeveloper i wanted to pass values to particular method or can i do that?
Question by:chaitu chaitu
    LVL 13

    Assisted Solution

    suppose u have function like this:

      public static void main(String[] args)
        //hightlight this value and right menu
        String variable = "hello";
      public static void echo(String value)

    Select the variable (highlight it like double click on the variable to become selected) then right menu --> Watch....
    A dialog will open to confirm that u selected the right expersion or variable, add it to watch, and open the watch pane, in the watch pane u will see the variable double click on it a dialog will appear asking u to enter a new variable, enter the new variable and continue debbugging

    Good luck :)
    LVL 13

    Expert Comment

    little word collection:

    >>click on it a dialog will appear asking u to enter a new variable
    I mean new value
    LVL 30

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Live - One-on-One Java Help from Top Experts

    Solve your toughest problems, fast.
    Java experts are online now and ready to help you.

    Suggested Solutions

    Title # Comments Views Activity
    fix34  challenge 9 69
    instanceof  operator in java 26 54
    Convert BufferedReader to File 1 48
    Running Jira on Raspberry PI 2? 3 44
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now