Flex :: Waiting For Flash Player To Connect To Debugger?
Feb 3, 2010
Using Flex Builder 3 : I have been getting this problem in every single debug launch for past few hours. I used to get this earlier too, but once in a while, not with every debug launch. I found out that flex debugger uses a certain 7395 port but I can't figure out how to change it?
I just finished my installation of Adobe Flash Builder 4. I've definitely installed the most recent flash player from Adobe's website onto my computer. Also, in the run configurations of flash builder 4, I changed the source path from the .html file to the .swf file that is generated. I don't need to test it in a web browser, I just want to run the swf in flash player.
I only have 1 .as file in my actionscript project and there is no code written in it other than the package, class and main function statements. When I run the .html file, it runs fine, and debugs fine. However, when I switch the source path to the .swf file, it runs fine but doesn't debug!
When I debug it, the progress gets stuck at 57% and it says "Waiting for Adobe Flash Player to connect to debugger..." in the "Progress" tab. After a few minutes a window pops up that says:
"Failed to connect. The session has timed out. Ensure that you have run the application with debugging on and that I have the debugger version of flash player."
What can I do to fix this? I am on an intel Mac running OS 10.6.5.
I have installed the Remote Debugger, a couple of times, apparently without any problem. When I use the Remote Debugger in AS3, the message appears in Flash output as "Waiting for Player to connect ..." until the timeout. The debugger does not start, by itself. Neither, I can find the Debugger in any folder; like in "Program Files/Adobe/...... etc." It does not show up in the list of Programs, either.
Whenever i try to debug movie, it does nothing but say "attemping to launch and connect to Player using URL C:Documents and SettingsBlahMy DocumentsFLASHTDBackup.swf [SWF] C:Documents and SettingsBlahMy DocumentsFLASHTDBackup.swf - 95873 bytes after decompression" in the output. I tried leaving it for an hour and nothing happened.
I am building an Android application using Flex Hero. When I run the application I can package it fine on my mobile and run it on the device, however, as soon as I want to run in debug mode on the device, the device gives me a message like: "Can't connect to debugger (192.168.1.12). Enter IP-address or hostname". The device is connected with a USB to the PC and USB debugging is enabled on the device. I have tried to shut down the computer's firewall, but no result.
I dont want to connect to a server over socket. I would like to know if it is possible to connect from one AIR app on machine A to connect to another AIR app on machine B via sockets without cirrus. I'm not asking for someone else to do my work, I couldnt find any documentation or possibility of the above thing. My conclusion now is that it is not possible, but I would just like it to be verified by other people(experts).
Has anybody else noticed serious performance problems with the flash 10.1 debug player?With the non debugger player my swf runs cpu usages of about 5 -10% percent depending on whats going on.In debug mode it jumps up to 50 % and hangs and crashes. So at the moment it's impossible for me to actually debug my application in flex.
Does anyone know whether or not a debug player for FP 10.1 has been released? The player that is being pushed right now seems to be the 'release'-style beta player.
I checked in the usual locations, like: [URL]..and the Flex SDK nightly source /player/ directory, but those are both still on 10.0.x.y.
I guess they don't always release the debug players immediately with new beta players, but it'd be nice if someone could confirm either way.
I have pressed "Dissmiss all" button inside Debugger window of Flash player, and it stoped permanently showing me the errors on the page.How to resume showing the errors inside Flash debug window ?
I have been developing a flash web app for the past few months and using flash debugger to debug. Now all of a sudden, across all browsers i get a plug-in failure for the debugger only. Regular flash player plug in works and i've uninstalled and reinstalled multiple versions. Started happening after i set chrome from internal flash player plug-in to debug version so i can debug on chrome browser. Not sure why that would cause a problem.
disable error messages generated by the debugger version of Flash Player 10? Error messages are great while I am developing, but not while browsing other sites It is a drag to keep reinstalling the player.
I'm just about to uninstall and reinstall at this point but I'm getting my install all screwed up trying to update Flash Pro CS5.5 to use Flash Player 11. I had it fine using the MXP provided in this adobe blog. Though that's 11.0 not 11.1. It did work however.
I downloaded the latest Flash Player / Debugger .exe and the latest SWC for 11.1 and now Stage3D is no longer being seen. Clearly I screwed something up. I uninstalled and reinstalled the MXP after deleting the FP11 XML and FP11 directory but it's not working anymore.
Is there a clear cut simple way to explain how to overlay the latest Flash Player for FPCS5.5? I used the AIR overlay instructions for 2.6 - 3.1 and it worked every time. Now I just need Flash Player overlay instructions. I'm very interested to start trying to Starling framework with Stage3D. I select FP11 to export and it tells me it can't find Stage3D.
Has anybody had Flash player debuuger suddenly stop working for no reason whatsoever. What I've found so far: - No exception screens popping up.. in ANY browser. Reinstalled debugger version of flash player, no go. - Flashbug not showing in Firebug - No trace calls visible in FlashDevelop - Flash IDE behaves normal.. all trace calls visible - Firefox updated about the same time but problem seems to be on a wider scale This started approximately, on Sunday 8th Januray (or saturday).
Does anyone know if we could switch between flash player version and the debugger version? I think there was a way during flash player 7 times. All I could find on this is that people use different browsers, one for the player and one for the debugger.
I've tried everything, firewalls, reinstalling etc etc. I can't get the debugger to connect no matter what I do.
I'm just writing a simple Air application, with Flex and Actionscript. But any type of debugging on any type of application doesn't work. I get this message
The Flash Builder debugger failed to connect to the running application.
I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other parts are Flex), and I'm experiencing a lot of Flash Debugger crashes.
These crashes aren't completely random - it seems like I can get them to occur with greater consistency when I perform certain actions in my app. However, at the same time, they aren't consistently repeatable - sometimes a set of actions causes my app to crash, and other times, the same steps execute fine without a crash.
I have two questions (carefully worded to remove my personal bias
I've started getting the following when I try to run FB4 projects:
/Library/Internet Plug-Ins/Flash Player.plugin
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
I've installed the debugger version of the Flash Player. Didn't work. I've reinstalled Flash Builder. Didn't work. I tried using Safari instead of Firefox. Didn't work.
When I go to Macintosh HD/Library/Internet Plug-Ins/ in the finder, I can see Flash Player.plugin right there. But when I go to Username/Library/Internet Plug-Ins the entire folder is blank. So I tried copying Flash Player.plugin to the latter folder. Didn't work.
Mac questions (I'm new to mac): Which of these is really the root? Is it normal that there should be duplicate directories like this, with non-duplicate contents??
In FB I opened Windows --> preferences --> Flash Builder --> Profiler --> Player/Browser and browsed to /Applications/Adobe Flash CS5/Players/Debug/Flash Player Debugger.app
What does Flash Player Debugger.app have to do with Flash Player.plugin?
I am working with a project that is developed in the flash environment, but I love the flex/eclipse debugger in that i can throw a breakpoint in and inspect the vars that are present. Is there a way that I can debug flash in the flex environment?
I have (of course) googled the subject and found that there are several posts on the topic but they are incomplete, missing images, or not working in my environment.
As developers at De Monsters we werent totally happy with the current Flash, Flex or AIR debuggers out there. So we decided to create our own debugger called De MonsterDebugger. Today weve got a great new version that we want to share with the community for free.
When I do user.login(), it sends a request with a HTTPservice from my external AS class. In the result event handler for this httpservice, I set a public variable to true or false, depending on whether the user's credentials are correctly in the DB.
I then use a getter to get that boolean value. However, without the timer, it always returns false because my code is faster than the event result handler. If that makes sense.
So I have to use a timer to stall my application for one second.. But seriously, that doesn't make sense to me. There has to be a better way, no?
Is there any way to get Flex Builder to connect to an existing browser session running Flash Player Debugger? I can connect to FDB like this, but with Builder I need to click Debug and rush to close the newly opened browser window before it loads the Flash file and then go back to the session I want to connect and right click it to start the debugger.
Unfortunately this is not very reliable as I can't always beat the window opening, requiring several attempts before being able to connect to the session I am interested in. If I could just tell Builder 'Start debugging' and then have it wait for the connection, I could now calmly go over to the browser, right click, hit debug, provide the IP and voila. This would allow me to inspect variables on a hard to replicate bug on a session running on a tester's computer.
I have an arbitrary number of images I want to load. I want to load them, wait until I get an Event.INIT for each, and only then proceed with the rest of the program. I know I can do that by having an Event.INIT listener update and check some count variable, but is that the standard approach? Is there a more elegant or AS-specific way?