views:

528

answers:

3

Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger.

+1  A: 

I don't know if you can connect it from code, by this maybe helps you:

If you want to run the Flex Builder with the Flash Player Debug you have first to get the Flash Player Debug then copy the Flash Player Debug into [Flex Install Directory]\Player\win, paste the Flash Player executable file and rename it to Flash Player.exe. Restart your Builder and run your application (from the Builder) in Debug Mode.

unkiwii
Thanks for your comment, I'm already using the debug version. The problem is, my Flash movie can't run standalone, it's inside a C++ wrapper layer. I did manage to connect FDB though, so that's proof that a connection is at least possible.
Joe Zephyr
+1  A: 

I think this is what you need: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/debugging%5F03.html#182352

ghalex
This appears the most feasible possibility at present. Managed to get FDB connected to our embedded Flash Player! So, inching forward, and inch at a time. :) Now I just need to encourage Flash Builder to listen for the connection. Doesnt FB use FDB.exe for debugging?
Joe Zephyr
A: 

I've managed to connect fdb.exe from the command line to my app! Works like a charm. A bit more work though, since there's no UI.

Joe Zephyr