intellij-haxe
intellij-haxe copied to clipboard
Flash debugging doesn't start on IDEA 14, but works fine on IDEA13
There are no errors, project get's compiled and run, but no debug tab is opened when project is compiled.
hi,can i ask you for help. what 's the type of idea 13 you used. idea13u or idea13comunicaty . i can't debug flash even in idea13u. when project compiled, nothing open. a moments later, a error tip show like this: Adobe fdb (Flash Player Debugger) [build 23201] Copyright (c) 2004-2007 Adobe, Inc. All rights reserved. Waiting for Player to connect Failed to connect; session timed out. Ensure that:
- you compiled your Flash movie with debugging on, and
- you are running the Debugger version of the Flash Player.
how can i do?
@zhulu-mike:
IDEA 13 Community Edition is a Java-only platform. To use other languages, you need to buy a license for IDEA Ultimate. In general, the folks watching this list are Haxe language developers. Please do not ask questions in the middle of another issue; people will ignore you.
You'll get more informed and immediate answers using the community forums.
http://old.haxe.org/com/meeting/irc http://blog.jetbrains.com/idea/2012/05/get-involved-into-intellij-idea-community/
@zhulu-mike Debugging for Flash target in IntelliJ IDEA 13 Ultimate should work just fine. I heard that people use it.
@EBatTiVo
IDEA 13 Community Edition is a Java-only platform. To use other languages, you need to buy a license for IDEA Ultimate.
I think Haxe plugin can be used in Community edition, but without Flash debugger.
Was there any progress towards compatibility with IDEA14?
@grisevg There is https://github.com/EBatTiVo/intellij-haxe/tree/ClassHierarchyIDEA14, but it's not updated to latest yet. It used to compile plugin in IDEA14 and worked for me, but still https://github.com/EBatTiVo/intellij-haxe/tree/ClassHierarchy branch still needs some work to make it pass all unit tests.
So, does this work currently? I tried debugging with IDEA 14 (Ultimate Edition) and Flash target set (with AIR 24 SDK), but nothing worked.
@b005t3r I have no idea whether this works currently, even with 2016.x versions. Other folks here may use that functionality and be better able to answer quickly.
If I may ask, why are you continuing to use a 14.x version of IDEA? We don't even build for 14.0.x any more. 14.1.x is the earliest supported version and it may be dropped if not enough people are using it.
I have no idea
I appreciate the pun :)
I use 14.1 because I paid for it :) For AS3 dev., which I mainly use it for, it's more than sufficient (they didn't add any AS3 specific features since then anyway).
So should I try like the most recent IDEA version (CE of course, I'm not really that eager to pay for the ultimate one)? Will that help?
@b005t3r I was mostly asking about 14.1 as a point of interest. 2016 may work out for you. It has a free trial for thirty days, so you can check it out without forking out the extra money.
As I understand it, IDEA CE doesn't support debugging anything other than Java. Others have found that it doesn't support Haxe debugging of the hxcpp targets. Once they switch to Ultimate, debugging starts to work.
And what is the version you use and can confirm that debugging works with it? I'd rather start with something that should work rather than something that might :)
For hxcpp targets and Haxe native debugging, I regularly use and test the following versions on linux: 14.1.1, 14.1.7, 15.0.6, 2016.3.4. I sometimes test 14.1.1 and 2016.2 on Windows. I do not regularly test flash targets. I know I have been able to debug flash in the past, but I don't remember on what version.
OK, so just one more question: is CPP debugging any better/worse? Is it slower, platform dependent or anything else I should know about? Finally, what is the proper way to debug during development?
Well, C++ debugging is done in native Haxe code. Flash debugging is done with the compiled/converted flash code. So, in the former case, it feels like a native debugger -- you're looking at and stepping through the sources you wrote. In the latter, you have to back-convert the executing code to your sources. Even using the chrome debugger and source maps, I don't think it's as straightforward.
Hmm, all right, so I'll try the C++ debugging. BTW, are there any limitations with the C+ target? Can I build apps for PC, Mac, iOS etc. with it?
I know for sure that you can use it for Linux, Windows and OS/x. iOS and Android, I'm not sure about.
Ah, I see one does not simply start development in Haxe. I'm yet to find a person who develops Haxe tools and knows if, how and where they work :)
Thanks for help anyway :)
For what it's worth, Flash debugging works fine in VSCode with https://github.com/vshaxe/vshaxe-debugadapter. It's not yet released to the marketplace (should be soon though), so you would have to build from source.
Thx for the info. But you see, vscode is still (and it won't change any time soon probably) just an editor - simple syntax autocompletion works, but there are no advanced functionalities that IDEA has (like refactorings or adding imports if needed).
This is one of my biggest problems with Haxe. The language looks awesome, but there are no decent tools. This works with that, that works with something else, etc.
I think this should be closed. We don't support IDEA 14 anymore and Flash debugging works fine on IDEA 2020.2 with plugin version 1.3.1.