Flex :: Use URL Parameters While Debugging In Flash Builder 4?
Jul 6, 2010How can I use URL parameters while debugging in Flash Builder 4?
View 2 RepliesHow can I use URL parameters while debugging in Flash Builder 4?
View 2 RepliesWhen I set a breakpoint and debug my application, Flash Builder 4 is not displaying static variables within the variables window. I'm using flash builder 4 to execute flex unit tests on one of my AS3 classes. I set a static variable within the [Before] function, which is accessed in each of the tests. I've set a breakpoint within one of the tests to see why it is failing, but I notice that static variables don't appear when I expand the 'this' object within the variables window. (In this case my static variable is the only variable associated with the class, so the only object in the variables window is the "this" object). How to make static variables appear in the variables window?
View 2 RepliesI've recently bough Flex Builder 3 and I am completely dissatisfied with its reluctance to debug. It manages to debug a few times, but after that, it just doesn't want to "connect to the debugger".
View 5 RepliesI am running on Windows XP and recently updated Flash Player from v9 to v10.1. And Now, in the Debug Console under Flex Builder, I am getting a lot of debug statements(I think that is assembly). Below is an example, of what I get:
[Code]...
I have installed Flex Builder 3 and Flash Player 10 on my machine.
I don't know where the trace output goes because I just don't see it (I tried debug and output windows).
Also the breakpoints don't hit.
I've noticed that when debugging using the eclipse flash builder plugin, one cannot drill in to the key set / values of a flash.utils.Dictionary in the Variables view. Even after selecting the "Show Logical Structure" button. Does anyone else run into this issue? Is there anyway I could see the see all of the keys / values when debugging (apart from writing a loop to do this or manually testing possible keys in the Expressions view)?
View 1 RepliesI am trying to use Flex builder for the first time in years. I haven't used the "Run Application" option before, and when I do that now it tells me "Errors exist in required projects" and whether I should proceed. I would like to debug those errors. Does anyone know how I can do that? PS: When I click the "Debug" button, it does exactly the same thing. I don't see error output in the console views.
View 2 RepliesI'm working on an Adobe Flash Builder 4.5 iPad application. I have only a humble 13" MacBook to work with. I am being aggravated by the problem of debugging my application in the Flashbuilder's iPad simulator. The FB simulator screen is almost the same physical size as a real iPad, which is too big to fit on a 13" MacBook. Is there some setting in Flash Builder 4.5 that would scale the iPad simulator to fit the available screen real estate?
View 2 RepliesI just updated my AIR runtime to 3.0 and noticed that my AIR application doesn't work anymore. So I tried to debug it it with Flash Builder, but when I run it there, everything works just fine. So I uninstalled the AIR runtime completely but noticed that I can execute my AIR app within Flash Builder still just fine. So the AIR runtime used within Flash Builder seems to be a different one than the systemwide installed AIR runtime. How Do I chose within Flash Builder which runtime to use and how do I update this runtime?
View 1 RepliesI'm building a networked client app with Flash Builder, and would like to be able to set environmental variables or #define's such as server's hostname and port. For debugging purposes I want to connect the client with different servers (and for other devs too). In C/C++ I'd define TEST_PORT=8888 or something in the IDE or build environment, that way I wouldn't need to commit a settings file along with the client. But not sure what's the standard for Flash Builder.
View 1 RepliesI am using LoaderInfo params in my Flash movie. Is it possible to specify sample flashvars in Flash CS4 during design time for debugging???
View 1 RepliesI am trying to debug a Flash Web Application using Flash Builder 4. However, I keep getting this error:Unable to connect to the application to fetch profile data. try profiling the application again.I am using Internet Explorer 8 (the same problem also occurs with Internet Explorer 7) with Adobe Flash Player 10.1.102.64 (the Debug Player). In other words, I installed the latest of everything.For my launch configuration, I have used the path to an HTML file. This works fine for debugging but does not seem to work for profiling.
View 2 RepliesDoes anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
View 2 RepliesI 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.
m working on an Adobe Flex application that loads lots of Flex Modules and other Flash sub-applications and Flash resources. Each time one successfully loads the flashlog.txt and Flex Console show a trace like "[SWF] filename.swf - [filesize] bytes after decompression". Specifically:[SWF] Main.swf - 1,361,299 bytes after decompression [SWF] core/Core.swf - 516,390 bytes after decompression
I don't want to disable traces because I am debugging, but these traces are rather noisy. How can I suppress only the [SWF] loaded traces?
I tried to search, but couldn't find anything on the topic. In many languages in eclipse you can execute code in the middle of debug session. Usually it's done through the console.
Is there a way to do the same thing in the Flash Builder? EDIT: Ok, i'll to explain better. Is there a way to execute some code in the middle of the debug session? Like in python you can type in console in pydev(eclipse) when the program is paused(being debugged) and run any code you want.
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
Is there a debugging tool for Flex that functions like Silverlight spy or FireBug?
View 2 RepliesI am trying to use a browser to debug my flash app as it needs External Interface. But whenever I try to attach the Flex Debugger to the browser running Flash app, it shows
SecurityError: Error #2000: No active security context.
I already checked the other question with same title as my error but changing code is not the solution here as it is an existing code and I don't get this error while using a debug version or when I am not running connected to a debugger.
I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
View 1 RepliesIs it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.
The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.
Update
I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true
Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.
I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
View 2 RepliesI am building a flex app for mobile. I am running my app with configuration 'run on device' but when I connect to my device through usb I don't see my application launching.
View 1 RepliesI'm stepping through my code to figure out why a certain function takes more time to run the first time it gets called than on successive calls. The code flow for each function call is the same up to when a dispatchEvent gets called. I'm pretty sure it's different afterwards, as that call takes a lot more time the first time around. Unfortunately, I have no idea which other parts of the code chew on this specific event and thus cannot step through the handling of such event.
The question: is there a way to either figure out who handles such events or magically step through the handling code without explicitly setting breakpoints there?
I've hit a snag when trying to debug an AIR app using adl.
Although adl successfully launches, the application never appears on screen / starts up.
eg:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code].....
Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed
Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.
From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]
View 1 RepliesI have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();
[code].....
Is there any plugin for any browser which can tell me the pass to certain flex element?
I mean, I have a flex frontend. And I need to find the full path to some element, like /topLevelPanel/innerPanel/checkbox[0]/img.
I have flex application consisting of several modules which is configured using maven. I'm using flexmojos plugin to build the application. When I try to build the application using maven it builds successfully. But I need debugging features of Intellij Idea (i'm using 10.0 version). So at first step I run maven compile command to generate *-configs.xml to enable Intellij idea compile my application. At second step i run IDE's compile(or make) command and it says:
[Code]...