facebook

"Step into" in MyEclipse

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270872 Reply

    mitu
    Member

    To debug my web application, I put breakpoints in the code. The code stops at these breakpoints. When I try to step into or step over, it goes into the native java methods. For example, I have breakpoint at “String click = request.getSession().getAttribute(“buttonclick”)”.toString(); When I try to step into or step over (F5 or F6), the code goes into the getSession method. I never used to get this behavior before. It used to go to the next statement. Is there any way to turn this behavior off?

    #270979 Reply

    Riyad Kalla
    Member

    mitu,
    If you click step-into, this is exactly the behavior you will get. You need to use step-over to skip over calls like this. Keep in mind that in that line of code there are actually 3 method calls that step-into will take you into.

    Instead, when you get to that line, hit step-over and it will jump to the next line where buttonclick’s value has been returned.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: "Step into" in MyEclipse

You must be logged in to post in the forum log in