JNI - remote debugging problem

Hi,

The version I use is 4.5.

I create JVM in C++ and then I'd like connect to the runnig process from the IDEA.

How should I know which port to use in order to connect to the JVM (using socket transport)?

Thanks a lot,
LG

1 comment
Comment actions Permalink

You should start JVM with debug parameters.

If you create remote debug configuration in IDEA you see what paramters you should pass to JVM.

Hi,

The version I use is 4.5.

I create JVM in C++ and then I'd like connect to the runnig process
from the IDEA.

How should I know which port to use in order to connect to the JVM
(using socket transport)?

Thanks a lot,
LG


0

Please sign in to leave a comment.