-1

I am trying to debug web application hosted on tomcat. I have following execution flow structure.

public ClassA
{
    public void execute(ClassB query)
    {
        ....
        .....
        ImportedObjectFromJar = query.execute();
        ....
        ....
    }

}

I am using F6 to navigate through code down the line and as soon as code reach line ImportedObjectFromJar = query.execute(); eclipse asking me to add source files of different 3rd party libraries. (the jar file has no source attachment).

Why? I don't want to go inside JAR file, I am interested only in my code. Any ideas how I can fix it?

1

2 Answers 2

1

I'd just keep stepping until I came out the other side into your code. It should be able to just deal with .class files.

Sign up to request clarification or add additional context in comments.

Comments

1

Put a breakpoint on the next instruction after ImportedObjectFromJar = query.execute(); and resume your debugging (F8) until it reaches your code again.

2 Comments

Yes, but I want step into .execute() method. Even if I put break point inside .execute method next instruction would step into 3rd party library again. :/
Then, with the breakpoint inside the '.execute' method, press F8 instead of F6 to skip third party code, and thus, get to your code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.