For debugging Java Framework projects some debug parameters must be set as command line arguments. This is done by the Eclipse plugin automatically when using the "Try Script" action. If you set the "JavaSetOption" in the bdf script these previously set values will be overwritten and debugging will not work. The easiest way to enable debugging in such situations is to set these values manually in the bdf script. For example the line: sJVMOptions:="-DpetName=HUGO"; must be changed to: sJVMOptions:="-DpetName=HUGO -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5775"; As a second step an Eclipse Debug "Remote Java Application" Configuration must be created. (referring to the right port - e.x. address/port: 5775) You then must restart the Eclipse Debug Configuration to start a debugging session. Incident #2520910 Old KB# 35042
↧