Flex :: Debugging Or Watching Static Variables Within Flash Builder 4

Dec 16, 2010

When 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 Replies


Similar Posts:


Actionscript 3 :: External Variables In Flash Builder For Debugging Purpose

Oct 4, 2011

I'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 Replies

Flex :: Use URL Parameters While Debugging In Flash Builder 4?

Jul 6, 2010

How can I use URL parameters while debugging in Flash Builder 4?

View 2 Replies

Flex :: Builder 3 Not Debugging?

Jun 7, 2009

I'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 Replies

Flex :: Debugging - Builder Debug?

Jun 4, 2010

I 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]...

View 2 Replies

Adobe - Flex Builder 3 Debugging Trace Output?

Oct 26, 2009

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.

View 2 Replies

Flex :: Debugging Dictionary In Eclipse Builder Plugin?

Jul 16, 2010

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 Replies

Actionscript :: Debugging - Debug A Project In Flex Builder?

Sep 8, 2010

I 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 Replies

Debugging :: Can Flash Builder 4.5 IPad Simulator Be Scaled?

Sep 1, 2011

I'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 Replies

What Runtime Is Flash Builder Using When Running Or Debugging An AIR Application

Oct 10, 2011

I 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 Replies

Flex :: Debugging - Variables With Dollar Sign In The Debugger?

Mar 14, 2010

when I debug a flex application in the properties of display objects i also see variables that start with a dollar sign, like: $alpha, $width, $x, etc.. what are they? are they different from the "normal" alpha, width, x properties?

View 1 Replies

AS3 :: Debugging - Debug Only Project In Flex - Can't Use Trace Or Check Variables?

Aug 7, 2010

I am trying to build a AS3 only project in Flex....I have tried debug mode, but seems like it takes so long to compile....I can't use trace or check variables...Are there anyway to do debug??

View 1 Replies

Flex :: Flash Builder - Not Assigning Data To Variables?

Mar 4, 2012

I am trying to assign a value from my database to a variable inside my Flex application. So far I read up a few ideas and I have at the moment the following code using a PHP web service:

protected function btnSubmitUser_clickHandler(event:MouseEvent):void
{
username = txtUsername.text;

[code].....

View 1 Replies

Flex :: Flash Builder 4: Variable Not Displaying In Debug Window (Variables Tab)

Dec 15, 2011

In my flex 3.5 project, I have a class (MyItem) extending Canvas. In this I have declared a private variable named itemInfo which is type of ItemInfo (which is another subclass of Canvas).

I wrote code to hide/show the iteminfo when the mouse is over/out of MyItem. I am not getting any error but it is not showing the itemInfo as expected, when debugged the code, surprisingly the variables tab in debug window does not have the variable itemInfo at all.

I have declared a dummy:int variable and it is also not visible.

View 2 Replies

Debugging - Flash Builder "Unable To Connect" Error

Jan 31, 2011

I 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 Replies

Flex :: Initialization Order Of Static Variables In Flex Causing Bug?

May 10, 2011

I've got a component written for my app by a third party developer and am trying to integrate it, but I've found a bug that seems like it's either a compiler bug, or there's something with how Flex and static variables work that I wasn't aware of.Basically, I have this:

public class ModeChangeController {
public static const DISPLAY_MODE:String = "DisplayMode";
}[code]...

If I use //V2 (i.e. comment out V1), a bug occurs at the startup of the application (some TextFields are uneditable and contains no text), but with //V1 and not V2, it works fine. If I comment out both, that also works fine (I don't get the TextField bug).It took me a while to figure out that it was that static const String that was causing the issue, but I'm still not sure why or if there's something I can do about it except for just moving the DISPLAY_MODE to Events (which is what I've done at the moment, but it's not a particularly nice solution).There are no errors in the log. The order of the includes in my BorderContainer code doesn't matter. I've googled for "as3/flex static initialization order" but haven't found anything.

Clarification: showInitialView() never gets called. It doesn't get there before the other bug shows up. Just having the V2 line there causes the problem.

Update: I've fixed my problem with the TextInput strings not showing: Turns out that adding the component caused the Tahoma font to not show up. However, setting the font-weight to bold fixed that problem, or switching to Arial. With that said, the original question still stands, because when I ran it without V2, it found Tahoma with normal font-weight.

View 1 Replies

ActionScript 3.0 :: Can't See Variables When Debugging

Nov 9, 2008

I'm just moving up from AS2 to AS3, using CS3. I'm finding out most of the stuff I need to debug with, but I can't seem to see the variables in the variable window.

I've looked through the documentation, and tried touching all the buttons they say to touch and setting the publish settings to allow debugging. Nothing seems to be working.

And, unlike AS2, the program seems to start all by itself, it doesn't wait till I click on the arrow to begin, and I can't get the step into and step through buttons to not be greyed out.

View 3 Replies

Flex :: Builder 3 Word Completion/intellisense Stopped Working For New Variables?

Jan 28, 2010

For some reason code completion/intellisense has stopped working for new properties in our projects.These are the symptoms:Add a new property to a class If you go to a different class, and you try to use that property, the intellisense dropdown doesn't show the new property. It does show the already existing ones.If you build the project, everything works fine, there are no errors or compiler warnings.The property will not show in intellisense until you restart Flex Builder (version 3).We have tried it on different machines and als tried to set up the workspace again, but the symptoms stay the same everywhere in our project.

View 2 Replies

Eclipse :: Flex Builder Debugger Doesn't Display Local Variables

Feb 11, 2010

I am using the Flex Builder 3 debugger almost every day and it's starting to be a real pain that the 'Variables' tab in the 'Flex Debugging' view doesn't show local variables, only 'this' is displayed.

Also I can not add Watch Expressions for local variables.

Am I forgetting something here or is the debugger just very limited?

View 3 Replies

Deleting Variables From Debugging Menu

May 8, 2010

I found what I am looking for when I list all variables. I want to cut out the rest of the menus that create a fan of pages.I removed the SWF's from showing up. But I am still having issues with changing the nMenus = "14" which is the number of menus to show. I want to change the "14" to "9" so there are no spacing in between my 3D Pages.

View 1 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does 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.

View 1 Replies

Flex :: Convert Flex Builder 3 Project To Flash Builder 4

Oct 6, 2009

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 Replies

Flex :: Watching A Bindable Property?

Sep 8, 2009

In my flex app I have a public bindable property.I want it so that every time the value of that property changes, a function gets triggered. I tried using ChangeWatchers, but it seems those only apply to built-in components like a text box change.i would like to do that same behavior with a property that changes at runtime.

View 4 Replies

Flash :: Referencing Static Variables From Frame Scripts?

Oct 27, 2009

Got some external classes, say MyClass.as MyClass.as has a static variable called foo

So, ordinarily in other AS files I can call this with MyClass.foo = bar;

However, this seems to be different in timeline scripts. Every time I try this I get the reference with a static type error 1119: Access of possibly undefined property foo through a reference with static type flash.display:DisplayObjectContainer.

I've tried doing an import MyClass, etc... nothing seems to be firing.

View 1 Replies

Flash Builder 4 Debugger Variables Not Updating?

Jun 25, 2010

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.

View 2 Replies

Actionscript 3 :: Watching An ArrayCollection's Length Property In Flex?

Nov 12, 2009

I would like to put an eventListener on an ArrayCollection's length proprety, but I don't know how to go about this.

I want to do this because I only want code to execute when a certain number of things are in a certain ArrayCollection. I want Flex to wait to execute this code over the next object until that length property drops back to an acceptable level. I think I should do this with events instead of a while loop that sits there spouting NOOPs forever (which I don't know how to do either).

View 2 Replies

Debugging Flash Authored Content With The Flex Debugger?

Jan 1, 2010

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.

View 1 Replies

Flash :: Flex - Suppress Only [SWF] Traces When Debugging Applications?

Aug 10, 2010

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?

View 5 Replies

Flash :: Flex :: Interactive Console In The Middle Of Debugging?

Jan 25, 2012

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.

View 1 Replies

Flex - Importing Flash Builder 4.5 Project Into Flash Builder 4.5.1?

Jun 27, 2011

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.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved