1

I have a question with respect to Eclipse IDE , Java Remote Debugging .

If i got all the Source Code of the Application and configure the Host , Port , located remotely , under Eclipse Remote Dubugging Configuration , will the Break Points gets Started automatcally ??

For example if i got all the Citi Bank Source code in my Eclipse IDE and i mention the Host and Port (Production Environment) in my Remote Debugging Configiraton Will the break points will be enabled if a specific condition is met ??

1 Answer 1

3

You need to normally add debug options when starting the JVM on the server to listen on a specific port, and similarly, use that same port in Eclipse. See this prior question - Remote Debugging

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

3 Comments

Thank you very much , so even if i didn't got the updated source code , it will stop if the port and host are matched , am i correct ??
Well, if your source is out-of-sync with what is deployed on the server, how will you know what you are debugging is the correct code?
to atleast some extent , i mean it atleast enters into the method name . anyway thank you i got it .

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.