ActionScript 3.0 :: Flash Could Not Connect To The Debug Player - Debug Session Will Terminate?
Apr 29, 2011In CS5 I get the above message. I need to debug so it's very important. Anything I need to do?
View 2 RepliesIn CS5 I get the above message. I need to debug so it's very important. Anything I need to do?
View 2 RepliesI have a AIR for mobile pure AS3 project that saves a file on the device the first time it runs into the file.applicationStorage directory. The second and subsequent times the application launches I need it to look at that file I've saved.
My problem is that when I debug the application from Flex Builder 4.5 it wipes the application and application storage. So the application always behaves like it is running for the first time. I can't get into a debug session and step through my code as I read in that file.
Does anyone know how to connect to a debug session running on the device? My device in this case is an Android Samsung Galaxy S.
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 a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf.
However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with.
I've tried mocking this up with two very simple swfs, and while it works fine when both are debug builds, when the outer swf is a non-debug build, while I can get the debugger to connect, I don't get trace messages, breakpoints don't work, and it seems to lock up the flash app.
I have flash installed on my mac 10.6.7 and it's version is 11.1.102.55 (Non-debug).How do i convert it into debug.
View 1 RepliesWhen I first downloaded Flash CS3 Professional, I was able to enter an exceedingly useful debug mode by compiling using ctrl+shift+enter instead of ctrl+enter. I could toggle break points, step in, step over and view values stored in variables at a whim.
I must have accidentally toggled some option somewhere, because this interface no longer shows up. Instead, the only extra interface I get is the output menu with the following text "Attemping to launch and connect to Player using URL <file path> [SWF] <file path> - 71984 bytes after decompression" and while the swf does halt if the as3 code reaches a break point, it doesn't tell me which break point nor give me any options to progress the flow (not even through the pull down menu I have to utilize in order to end the so called debug session).
Is it possible to have both the regular Flash Player and the Flash Debug Player installed simultaneously, and switch between the two? In order to accurately test my project I want to use the regular player.
View 1 RepliesThe company I am working for has a flash component (using flex and cs4) that crashes intermittently in chrome, FF and IE. (so far only win32 platforms)
I submitted a bug report to Adobe but have not heard anything back from them. Their support process seems like a black hole. WE can get a dump from Flash using these steps but after submitting the bug we got no help at all.
We loaded this into MS visual studio but can;t get decent stack information because there are no symbols for the flash stuff.
Microsoft and other companies provide symbols to help with debugging and we would like to get that from adobe. Is there any way to make progress on this?
Does anyone know where to get flash symbols or how else we can make progress?
It is hard to debug the process if the container just dies.
the binary is flash10c.ocx
I just spent a painful hour on the phone with adobe folks - and the final answer from one of them (I spoke to about 8 people) was that they do not have a per incident purchase plan for developer support for flash.
Chrome comes bundled with Flash now¦ Great, but how do I install the Flash debug player?
View 2 RepliesI would like to switch from the debug version of the player to the release without having to uninstall. Is this possible?
View 1 RepliesI'm pulling my hair out with this one.
How do I set which Flash Player to use when running a project?
I'm working on code in FlashDevelop and compiling into Flash CS5.5. I want to use the debugger and I've downloaded the stand alone Flash Player Debug Version from the Adobe site. So how do I launch to and test using the Debug Player?
View 3 RepliesRecently, when I tried to show the results of my work (some Flex app) to my boss, i was quite suprised that application which run perfectly well on my pc, on my boss' pc wasn't displayed properly (the only thing visible was a default grey background). After 3h of trying absolutely everything, finally the app showed up when I changed his Flash Player version from standard one to debug (both was v. 10.0.22.87). Does anyone know what can be the reason of this (any compiler flag or sth). Forcing my boss to installing debug FP was quite ok, but forcing final user of the app to do so is unacceptable.
PS: By showing I mean deploying to Tomcat on my pc and giving my boss a link to the app. We both use Win XP. Also when I installed debug FP for Netscape browsers and standard FP for IE (on my pc) the result is the same - working in Firefox, Opera, Chrome and grey background in IE. I've compiled both as a Debug and as a Release. I'm using Flash Develop 3.0.2 RTM After stripping my app to sth like this - it still works only in debug FP
[Code]....
I know I can look at plugins and their version under Firefox, but how can I tell if I'm running the debug version of the Flash Player?
View 2 RepliesI've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL] confirms that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing. Does anyone have the same problem? Does anyone know how to fix this strange behavior?
I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
I am trying to debug application which fails on me silently online. I am a 100% certain that I am running the flash debug player. To even make sure I am not losing it, i throw an Error ON PURPOSE. But flash shows not a single stracktrace in the browsers. I am kind of close of losing it. Any clues ? I am trying this on chrome, and firefox. WTH? Compiling with FDT, debug mode, even set the compiler argument debug=true. This is normally not the case.
View 3 RepliesI am having some weird trouble with getting my Flex Builder 4.5 environment set up and working. I am currently debugging with the stand alone version of the debugger, though I have the same problem using the versions for Firefox and/or Chrome. It works fine as long as I do not include any break points, if I do include break points (anywhere in the code) the debugger just goes unresponsive until I terminate the process from FB.
View 1 RepliesCan I somehow log all AS3 finctions swf calls during runtime with debug version of Flash player?
View 1 RepliesI'm receiving the following error when trying to access a property of my array. TypeError: Error #1009: Cannot access a property or method of a null object reference.The value I'm accessing works completely fine but the error above pops up when using the flash debug player only. My Firefox uses the flash debug player, Player Version: WIN 10,0,45,2 Debug Player: Yes. My IE which doesn't receive the error uses Player Version: WIN 10,0,45,2 Debug Player: No. The Player version info received by vising the flash version test page.
I'm using a custom event that gets dispatched from a class that makes a web service call.The web service call returns JSON data which I convert to an Object using JSON.decode from adobe corelib. After I have the Object, I use the below code to create an array from the Object.
Code:
//casts the right property to an array which has no problems
var resultArray:Array = e.object.data as Array;
//Accessing the value causes the debug player error
output_txt.text = (resultArray.length.toString());
I've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL]that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing.I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
Is it possible for Flash debug player to show Flash website online a bit different than what the normal Flash player shows?
By different i mean...the content of the liquid Flash website instead of playing right in the middle it shows a bit off center.,
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.
View 3 RepliesI've just stumbled upon a case when Flash app freezes in production Flash Player and works smoothly in a debug version. It doesn't throw any errors or exceptions. Has anyone ever encountered anything like this? Why is it happening or how one is supposed to debug in such case?And a side question - what exactly is different in debug version from internal point of view? Any good writeup on the topic?
UPDATE:I didn't mention, but the trouble is with Flash Player 11, it probably matters, cause Flash Player 10 doesn't have any problems with the same code.
can you turn off flash debug player without uninstaling it?I want to see how something would look with no debug player, specifically if the debug player throws an error normal player wouldnt throw, does the code stops if there was no debug player or continues normally?
View 1 RepliesI have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.
View 1 RepliesI just updated to CS5 - I'm working on a custom video player. It works fine embedded in a web page both locally and on the network. It works fine in the debug player. However, when I test it in the authoring player I get a NetStream.Play.StreamNotFound error and no video. I have tried setting the Local Playback Security publish settings to both local and network - doesn't find the video either way.
It used to run fine in CS4 in the authoring environment.
dvrcast is a live service.mp4: as the service record and I look over to the dvr sample player debug output messages while out NetStream.Buffer.Empty will stop.Screenshot is shown below. Is it possible to do without stopping the service?
View 6 RepliesI identify my current installed debug version? Basically, I am using Flex 3, for past 2-3 days whenever I launch any Project or debug it, I get the message box saying "Flex Builder requires a more recent version of Flash Player." It says my curent FP as 9.0.115.0 and debug version as 9.0.45.0. However, my actual FP version if FP 10.0.22.87. I don't understand why this confussion! I don't know how can I know my actual version of Debug player.
View 2 RepliesMay I ask how to add breakpoint and debug AS3 in Flash CS3?
View 3 Replies