Debugging not possible - error

86 views
Skip to first unread message

Angelo Maci

unread,
Jun 25, 2020, 4:48:26 AM6/25/20
to CodenameOne Discussions
IDE: IDEA
Desktop OS Ubuntu
Simulator
Device

Hello,I am trying to debug with breakpoints but I get:

Restarting JVM with JavaFX in the classpath.
NOTE: If you are trying to debug the project, you'll need to cancel this run and try running debug on the project again. JavaFX should now be in your classpath.
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
ERROR: transport error 202: connect failed: Connessione rifiutata
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
Disconnected from the target VM, address: '127.0.0.1:42589', transport: 'socket'

Process finished with exit code 2Which JVM are you using for debugging. 

It seems JavaFX isn't working for that VMI do not know how to check and which settings to change, please give me suggestion
OpenJDK
At project creation I saw the right JDK. 
I cannot find a place in the settings where the debug JDK is pointed. 

Run configuration just works. 
Thanks in advance

Shai Almog

unread,
Jun 25, 2020, 10:48:16 PM6/25/20
to CodenameOne Discussions
We're pushing out a new version of the IntelliJ plugin today. It should resolve that issue (hopefully).
Which JDK are you using?
Notice we only support JDK 11 or Oracle JDK 8/ZuluFX 8.

Angelo Maci

unread,
Jun 26, 2020, 4:20:24 AM6/26/20
to CodenameOne Discussions
It's OpenJDK 11, thanks.

Shai Almog

unread,
Jun 27, 2020, 1:15:17 AM6/27/20
to CodenameOne Discussions
Did the new update solve that problem?

Angelo Maci

unread,
Jun 28, 2020, 5:47:04 AM6/28/20
to CodenameOne Discussions
The IDE says "no plugin updates available". Anyway, even if an automatic update happened, debug is not possible yet, same error.
IntelliJ IDEA 2020.1.2 (Community Edition)
Build #IC-201.7846.76, built on June 1, 2020
Runtime version: 11.0.7+10-b765.53 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-39-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 949M
Cores: 4
Non-Bundled Plugins: com.codename1.plugin.intellij, org.jetbrains.kotlin
Current Desktop: ubuntu:GNOME

Shai Almog

unread,
Jun 28, 2020, 11:10:49 PM6/28/20
to CodenameOne Discussions
What's the version of the plugin listed in the plugins section?
It should be 6.5

Angelo Maci

unread,
Jun 29, 2020, 2:23:45 AM6/29/20
to CodenameOne Discussions
Sorry, I do not know where to find that information. Where should it be?

Shai Almog

unread,
Jun 29, 2020, 10:03:07 PM6/29/20
to CodenameOne Discussions
I've looked a bit further and it's possible our plugin updates aren't arriving for newer versions of intellij I'm investigating this.

Angelo Maci

unread,
Jul 13, 2020, 4:49:52 AM7/13/20
to CodenameOne Discussions
I opened Idea after some time and it updated itself and the Codename plugin. 
Now debugging works. Regards

Shai Almog

unread,
Jul 13, 2020, 11:23:21 PM7/13/20
to CodenameOne Discussions
Sorry I forgot to update that we found and fixed an issue with the plugin versioning update. A switch to gradle build for the plugin broke versioning.

Angelo Maci

unread,
Jul 14, 2020, 4:51:05 AM7/14/20
to CodenameOne Discussions
No problem, just is there a place where you inform us about some rollouts or releases, I am new here, like the one I am waiting for, the new BrowserComponent based on JCEF support, if I am not wrong?
Regards

Shai Almog

unread,
Jul 14, 2020, 10:38:37 PM7/14/20
to CodenameOne Discussions
There's the github project which you can follow if you want to know "everything" but generally most big things get announced in the blog so you should just follow that.
We release an update every week on a Friday sometimes a bit sooner or a hotfix but those are pretty rare.
Reply all
Reply to author
Forward
0 new messages