0

Can we make modifications on to the source code while debugging the Application inside Eclipse

Hi ,

Assume that i have this piece of code under Eclipse IDe

          public void kk()
        {
        try
        {
        int jj = 20;

        if(jj==20)
            throw new Exception();

        }
        catch(Exception e)
        {
            e.printStackTrace();
        }
}

Assume that the code has entered inside the catch block due to the condition jj==20 , can we modify the code and bring the debug control back ??

2 Answers 2

1

Yes, its possible. But within specified limit.

As an example, it is possible to change code inside a method, but not inside a class.

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

Comments

0

Yes - control will return to the top of the method after you make your changes & save.

Comments

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.