Breakpoints not working in FlashDevelop

I'm new, just installed haxe nme, and flash develop. I'm using the Actuate Example project, and it compiles just fine. I enabled the ProjectOptions->CompilerOptions->EnableDebugger = True I am able to launch and connect to a debug Flash projector, I v…

Viewing 1 to 5 (5 Total)
Breakpoints not working in FlashDevelop

mrrstark

mrrstark
Total Posts: 1
Joined: May 07, 2012

I'm new, just installed haxe nme, and flash develop.
I'm using the Actuate Example project, and it compiles just fine.
I enabled the ProjectOptions->CompilerOptions->EnableDebugger = True
I am able to launch and connect to a debug Flash projector, I verify this because I can pause the SWF, and step through the generated SimpleActuator.hx

I am unable to hit breakpoints though, in the main file of ActuateExample.hx

How can I get breakpoints working?

Tags:
Posted on May 07, 2012 at 10:53 PM

bach

bach
Total Posts: 5
Joined: May 05, 2012

Re: Breakpoints not working in FlashDevelop

Hey,

In order to get debugging working in Flash Develop I had to add <haxedef name="fdb" if="target_flash"/> to my nmml.

Hope this works for you!

Cheers,
Bach

Posted on May 09, 2012 at 5:06 AM

altef

altef
Total Posts: 105
Joined: February 25, 2012

Re: Breakpoints not working in FlashDevelop

I think something like this happened to me once. It started working when I switched from 64bit jdk to 32bit.. could have been coincidence though!

Posted on May 09, 2012 at 10:09 AM

singmajesty

singmajesty
Total Posts: 2140
Joined: August 25, 2011

Re: Breakpoints not working in FlashDevelop

NME used to include the "fdb" define by default, but there are people who are not using FlashDevelop who didn't like having that option enabled. A forthcoming version of FlashDevelop should have "-Dfdb" added when performing debug NME Flash builds, by default.

You can also use "flash" instead of "target_flash" ... reads a little nicer smiling

Posted on May 09, 2012 at 1:01 PM

MasterFlash

MasterFlash
Total Posts: 1
Joined: September 19, 2012

Re: Breakpoints not working in FlashDevelop

Enabling ProjectOptions->CompilerOptions->EnableDebugger = True
and adding the
<haxedef name="fdb" if="target_flash"></haxedef>
to my nmml file got break points working.

OLD <Any clues as to how to get the trace output to go to my Output window?>

I followed directions on how to get trace working by JohnSword and it works like a charm!
http://www.haxenme.org/community/forums/general-discussion/debugger...

You guys rock!

Posted on September 19, 2012 at 8:57 PM