Debugging eclipse with eclipse -
i debug eclipse view available in latest neon release. found class responsible view's behavior via plugin-inspector (alt+shift+f1 on mouseover). followed this question (and similar articles too) debug 1 eclipse instance another.
i did following steps:
- i launch eclipse instance want debug
- i launch eclipse instance
- i open debug configurations view
- i create new remote java application configuration fill host 'localhost' , port '1044'
- i click debug , error "failed connect remote vm. connection refused. connection refused:connect"
what doing wrong?
additions:
eclipse.ini in step 1
-vm i:/prep_ide_win_test/tools/jre/jre/bin/javaw.exe -startup plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.400.v20160518-1444 -product org.eclipse.epp.package.rcp.product --launcher.defaultaction openfile -showsplash org.eclipse.platform --launcher.defaultaction openfile --launcher.appendvmargs -vmargs -xdebug -xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -dosgi.requiredjavaversion=1.8 -xx:+useg1gc -xx:+usestringdeduplication -dosgi.requiredjavaversion=1.8 -xms256m -xmx1024m
eclipse.ini in step 2
-vm i:/prep_ide_win_test/tools/jre/jre/bin/javaw.exe -startup plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.400.v20160518-1444 -product org.eclipse.epp.package.rcp.product --launcher.defaultaction openfile -showsplash org.eclipse.platform --launcher.defaultaction openfile --launcher.appendvmargs -vmargs -dosgi.requiredjavaversion=1.8 -xx:+useg1gc -xx:+usestringdeduplication -dosgi.requiredjavaversion=1.8 -xms256m -xmx1024m
an error
//edit: looking functionality of button in eclipse welcome screen:
create new eclipse application configuration instead, debug that.
Comments
Post a Comment