Newbie question on Debug Breakpoint - won't work

49 views
Skip to first unread message

Viperace

unread,
Aug 3, 2015, 12:20:30 PM8/3/15
to HaxeFlixel


Hi All,

I can only make FlashDevelop work on 'Neko' target, the other won't work for some reasons.
Now, I wish to toggle the breakpoint so I can step my program and debug. But the program just would not care about the red breakpoint that I has set. 

Any possible reason?

Thanks!

Gama11

unread,
Aug 3, 2015, 3:51:48 PM8/3/15
to HaxeFlixel
FlashDevelop only supports breakpoint debugging on the flash target right now.

Viperace

unread,
Aug 4, 2015, 12:23:58 PM8/4/15
to HaxeFlixel
Thanks, I tried getting my Flash Target works (using IrfanView), but still the debugger won't proc.

Gama11

unread,
Aug 4, 2015, 12:28:43 PM8/4/15
to HaxeFlixel
Not sure what you mean. What was the original issue you were having with flash, and how does an image viewer help with it?

Viperace

unread,
Aug 5, 2015, 12:56:00 PM8/5/15
to HaxeFlixel
Original issue is that when I select 'Debug' and 'Flash', it always launch one of my video player which can't play SWF.
I then tried to install Adobe Flash player and rerun again. Still, it is launching my player.
I can make it work by 
  1. dragging the .swf file created at my project BIN to Google Chrome, which then launch the game in chrome
  2. Right click the .swf file, open with -> IrfanView. It has a flashplayer plugin so it can run it
I manage to make option 2) run now by 'Debug' -> 'Flash'. 
But still no luck with the Breakpoint... 

Is there a way to view some variables during the game in the Debugger (after pressing `) ?. 

Gama11

unread,
Aug 5, 2015, 1:16:15 PM8/5/15
to HaxeFlixel
What flash player did you install? You need the standalone debug player. FlashDevelop can download it for you: Tools -> Install Software -> Flash Player (SA).

You can add variables to the watch window of flixel's debugger overlay via FlxG.watch.add(). Mode's PlayState has some examples.
Reply all
Reply to author
Forward
0 new messages