ActionScript 3.0 :: Error When Using Flash CS Debugger
Jul 6, 2011
I've got a strange problem that I cannot exactly get my head around. When I compile and start my application with the Adobe Flash Professional 5.5 Debugger (Ctrl+Shift+Enter), the application fails while loading with the following message:
Code: XML ERROR LOADING:skins/test//testskin.xml Error #2032: Stream-Error. URL: file:///C|/test%5Fflash/output/skins/test//testskin.xml The error does not appear when just publishing and starting the application from Flash (Ctrl+F12).
I ran into a problem where I was getting a TypeError: Error #1009: Cannot access a property or method of a null object reference while the debugger was reporting that the object was not null. Traces report that the object is null, but the variables list in debug view or rolling over the variable reported that it was populated with an object.
This may be a total Noob question but I can't seem to get the Flash Debugger to work. I'm trying to test a flash file that interacts with some PHP script. I'm running MAMP under OS X 10.5.8 I've downloaded the Debugger Version of the Flash 10 plug-in and installed it. Created a the mm.cfg in /Library/Application Support/Macromedia with the following content:
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.
the flash debugger suddenly stopped working, it no longer stops at breakpoints and when I right click on the swf, select debug and choose local host, it says "A connection to the debbuger or Profiler could not be established by Adobe Flash Player 10." or something along those lines, despite the fact that I'm developing my project using flash9 settingssays I should add one line "127.0.0.1 localhost" to a "hosts" file in the windows/drivers folder but I checked and it's already there.
I am using Windows 7 Professional and Flash CS4. I installed the flash player debugger, now I can't get rid of it. It slowed Flash down to a crawl. I ran the uninstall_flash_player found on this site. No effect. Flash is still really slow and still shows a ton of information in the output screen when I compile.
I just finished porting my AIR application to Flash.It works perfectly fine when I debug it via Flash Builder or when I load the enclosing HTML file in a browser that uses a debugging enabled version of Flash. However, it stops working when I load it a non-debug version of Flash. The "failure" seems to occur when the app tries to send a SOAP message request to our API server. That whole SOAP layer was generated using Flash Builder's Web Services class generation tools.
According to [URL], getStackTrace() is known to cause problems, so I disabled my calls to it but the problem still occurrs.
Is a watch list hidden away somewhere in the AS3 debugger in Flash CS4? I did spend a while looking around the net first. It's much easier to find the watch list in the AS2 debugger.
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
Damndest thing. Every once in a while, I'll make a change to some part of my Flash application, while working in Flash Builder 4, and when I click Debug Play, it starts running with the old code and the old variables, even though the code I'm looking at in the code window is the new, changed code. I can still advance step by step, but the advances don't align with the new code. They seem to be aligning with the old, not visible code. I can eliminate variables entirely, save, build clean, and when I run, it still shows the old variables in the Variables window. As I can not find any mention of this on the Internet, I logically conclude that this is some ancient curse directed solely at me.
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?
Ever since Flash Player 10 came out, the debugger version causes what seems like a crash in my browser, either Safari or Firefox, on Mac OS X. It's been consistently happening with 10.0, 10.1 and 10.2. And it's not just on the applications I develop. Six or seven times out of ten, when I visit sites like Gamespot with Flash video delivery and a banner ad or two, the debugger kicks out an error and, upon dismissing that error, I can't regain focus of my browser. Clicking a window does nothing but trigger the Mac OS X error sound. I have to force-quit and start again.
Im having issues with a loaded swf which works stand alone and after alot of googeling, it also works in flash cs5 the original problem was that it lost its stage after being loaded and there for it wouldnt work then i found this code:
if (stage){ stage.align = StageAlign.TOP; stage.scaleMode = StageScaleMode.NO_SCALE;
And it now works in flash but when i test the main.swf in debugger and load this swf into it it dosent work and throws the sandbox security error. 2070.
This is the script in the loaded swf:
if (stage){ stage.align = StageAlign.TOP; stage.scaleMode = StageScaleMode.NO_SCALE; }
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'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.
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 don't know why but i've got fla files that I can't debug.
I'm able to launch debugger and the swf file is correctly run when I do it, but if for instance I add a trace in my code and add a breakpoint on it, it will appear in the output but the debugger doesn't stop on the breakpoint.
It's a pretty big project that uses a quite numbers of external swc libraries, home produced for the most, and I can't figure where could this bug come from. All the more if I create a simple fla file with a simple document class attached to it the debugger works perfectly.
So if anyone already encountered the problem or got an idea over any reason that could make the debugger to not stop on breakpoint,
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.
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 have embedded the calender (datefield and datechooser) control of flex in cfm. When my application page loads the calender (swf) gets loads only if we mouseover the placeholder. However the issue is only in machines which have the debugger flash version and works fine in release version.
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 currently have the latest version of the IE Flash Player Installed: I've installed the latest version of the content debugger from The Adobe Flash Player Support Center. Regardless of what I do IE doesn't seem to pick up the new content debugger version. I've tried uninstalling, tried installing an older version... All with no luck.
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.
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.
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 having problems with flash debugging on Mac OS. It crashed at various points regardless if I'm using the projector debugger or browser plugin (regardless of browser).
The only common denominator I see is that a method seemingly in the debugging code is causing a security sandbox violation with localhost, and then everything crashes.