Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: How to debug java code and move from one page to another page in debugging mode

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to debug java code and move from one page to another page in debugging mode

    HI All,
    I am beginner in java and just started to work in this technologies. Can any one help me about below query.

    "How to debug java code and move from one page to another page in debugging mode?"


    Thanks in advance

    Ambrish


  2. #2
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    411
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    I am not sure what you mean - do you mean pages as in the total
    amount of source files within the project/solution or the lines of code
    in each source file?

    In general the debugger tool will execute the code line by line. You
    can use it to keep track of variable values and how they change
    throughout a program's execution cycle. You can also set
    breakpoints to terminate the program at any set point, and step into
    the code, continue the debug cycle, then step out of it.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,104
    My Mood
    Mellow
    Thanks
    244
    Thanked 755 Times in 741 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

    What debugger? And is this your question or someone else's?

  4. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    Thanks for reply

    I want to put the break point in my code and check the value and change the value any point of time. And also move from one class method to another class method

  5. #5
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    411
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    I would suggest looking up the various documentation available
    for your debugger. Break points can usually be set by clicking
    where the line numbers are, or by right clicking and there should be
    an option that sets a break point.

    You can also modify various other features of the debugger to
    whether or not to show certain symbols, variables and types.
    Most of this will be explained in detail in the user documentation.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  6. #6
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,104
    My Mood
    Mellow
    Thanks
    244
    Thanked 755 Times in 741 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    Thread moved, debugger unknown.

  7. #7
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to debug java code and move from one page to another page in debugging mode

    Ok...thanks all, I went through the various documents and I got my solutions.


    thanks once again for great support

Similar Threads

  1. question about debug mode
    By leonne in forum Java IDEs
    Replies: 5
    Last Post: May 15th, 2013, 07:18 AM
  2. Need a java code to click similar buttons on a web page
    By kalawadh in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 9th, 2013, 12:23 PM
  3. question about debug mode
    By leonne in forum Java Theory & Questions
    Replies: 2
    Last Post: January 9th, 2013, 04:16 PM
  4. help taking code from java class put it in JSP page.
    By anavagomez in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 26th, 2012, 11:57 AM
  5. Works on debug mode but not on run mode
    By alfonsoraul in forum Member Introductions
    Replies: 0
    Last Post: April 14th, 2010, 03:58 PM