1

I am running a java application and i am trying it to debug some code. I am running the application in debug mode and i am getting the msg also 'Connected to the target VM, address: 'localhost:30303', transport: 'socket' . Still i am not able to debug. I am using JDK6 and IntelliJ. Response will be appreciated.

1
  • Can you show the command line and the options used in IntelliJ. Commented Mar 13, 2012 at 9:21

1 Answer 1

2

Usually you need the following system properties: -Xdebug -Xrunjdwp:transport=dt_socket,address=30303,server=y,suspend=y

suspend=y will make the java process to suspend at start-up and wait till you connect with the debugger.

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

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.