View unanswered posts | View active topics

Reply to topic  [ 4 posts ] 
Unable to debug nme (haxe) projects. (Not the java problem) 
Author Message

Joined: Sat Apr 28, 2012 8:30 pm
Posts: 4
Reply with quote
Running with a new install of NME (3.3.0and
I can debug Actionscript 3->AS3 projects and I can debug HaXe->AS3 project.

I can't debug HaXe->NME projects.

When I run it with a breakpoint set the commandline is:
Running process: C:\Motion-Twin\haxe\haxelib.exe run nme run "W:\dev\projects\flipzine\Test1\application.nmml" flash -debug -DSWF_PLAYER="C:\Program Files\FlashDevelop\Tools\flexlibs\runtimes\player\11.1\win\FlashPlayerDebugger.exe"

Flashdevelop hangs saying: "Waiting for Flash Player to connect to debugger." for quite a while and then logs: "[No debug Flash player connection request]"

I get the same thing with the template from the nme site.

Since AS3 projects are ok I assume Java is correctly setup.

If I add the following line to the application.nmml
<haxedef name="fdb" if="target_flash" />
it works, but then it's not only in debug builds that fdb connectback is used?

Sun Apr 29, 2012 12:10 pm

Joined: Sat Apr 28, 2012 8:30 pm
Posts: 4
Reply with quote
NME 3.3.1 and FlashDevelop 4.0.1 RTM, fresh installs of both.

Sun Apr 29, 2012 12:19 pm

Joined: Sat Dec 03, 2011 11:18 pm
Posts: 13
Reply with quote
I have the same problem, seems to be a problem with NME 3.3.1
thanks for the workaround

Tue May 01, 2012 5:12 am

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Yes it's a change in NME which removed fdb directive by default - latest FD dev build adds it explicitely to nme command (-Dfdb).

Obviously debugger is only activated when FD compiles in debug mode. If you have a debug SWF you can force FD to start the debugger: Debug > Start Remote Session.

Tue May 01, 2012 12:33 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.