Debugging Flex Compiler Basics

Hello,
I have set up Eclipse (Europa - carbon OSX), with the Flex Builder 3 Eclipse Plugin, set all the variables and imported all of the svn Gumbo project into Eclipse, and I'm not getting any errors, and I can successfully run the sparkTest project!  Hooray!
Now I would like to be able to debug the compiler to see how it works, but I have no idea where to start... I'd just like to start putting breakpoints everywhere but when I do that nothing happens?  Any ideas how to get started?
Thanks!
Lance

I think most folks use Eclipse for developing the compiler.  You said 
you have the project set up right?  So now it's a matter of opening up 
the files that were mentioned, putting a breakpoint in the major 
method (like parse1) and then letting that get hit.  And away you go.  
Those phases that are called out in the architecture doc are 
essentially naming the appropriate methods for you to put breakpoints 
if you want to see what's going on.  Then just start stepping.  The 
debugger uses the same commands as you'd use in Flex Builder.
Matt

Similar Messages

  • Tutorial for Eclipse/Flex Compiler Development?

    Hello,
    I cannot find any reliable information on setting up Eclipse with all the right plugins to modify the Flex Compiler.  http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm  is too old, and the others are just unclear.
    If anyone could give me a hand that would be great.
    - Eclipse version Flex SDK Developers are using.
    - Required plugins (I'm on a Mac 10.5)
    - How to run a sample Flex SDK Compiler project, or debug it or something, or at least just load it.
    I have everything set up (eclipse installed, the flex source installed and ready according to the developer documentation).  But this last step is missing.  Thanks!
    Lance

    I wouldn't switch if you want to do .NET / SQL Server
    development. Most people on Macs who do SQL Server development
    either use a remote server or run it in a Windows Virtual Machine.
    Important programs are available for both OSes, but without
    knowing which ones you use it's hard to say whether you just need
    to install the "mac version" or whether you'd need to install a
    brand new one.

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • Flex compilation error

    Hi All,
    I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
    Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
    Does the older version models doesnot deploy in new versions?
    Thanks
    Srinivas K

    Hello Srinivas,
    Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
    Thanks and Regards,
    Ronniee

  • Flex compilation error 1004

    Compilation is ok, but the deployment is giving this error messages:
    Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Failed to compile AAD8G.mxml
    I do not succeed in finding the cause of this error

    Compilation is ok, but the deployment is giving this error messages:
    Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
    Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
    Failed to compile AADHDR.mxml
    Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM

  • Flex compilation error: line exceeds 32k span

    Hi All,
    I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
    1 tab/layer: input form
    2 tab/layer: table control
    3 tab/layer: table control
    Following is the error from the source Viewer window
    <b>com.myComp.myProduct.8J.Empdetailsview</b>
    Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
          (E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
    Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
    Failed to compile AAD8J.mxml
    PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
    Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
    Please help
    Thanks
    Sathish

    Hi
    The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
    Jarrod

  • Flex compiler in FlexBuilder and Flex SDK

    I have downloaded Flex Builder 3.0.2 and Flex SDK 3.2. Are
    they using the same version of Flex compiler?
    Is there a way to check the version of Flex compiler?

    quote:
    Originally posted by:
    mab_bond
    And regarding the Advanced datagrid you must copy the
    dataVisualization.swc.from sdk 3.1
    It sounds like the SDK3.2 download is incomplete. I'm not
    sure if upgrade FB with this download is a good idea.

  • Flex compilation error after adding an additional output port to a query

    Hello,
    I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data.
    Just when we add an extra output port to the query and deploy it we run into a flex compilation error.
    Has somebody come along with that?
    Kind regards
    Stefan

    Hi
    Why exactly you want another output port. With same output port you can drag multiple filters & restrict the output.
    Creation of second output port is not required.
    If first way is not suitable in your case, then you add that query twice (or multiple times) & pass the same input parameters.
    If still it is not serving the purpose then please elaborate your requirement as what dynamic filter you want.
    Regards
    Sandeep

  • Flex Compiler efficiency

    Hi All,
    is Flex compiler efficient in reusing of code i.e.
    If I write following chunk of code what how these get compiled
    Y=a.y.getTime();
    X=a.y.getTime();
    Whether flex compiler will replace one statement for above two same expressions or not?
    As
    Var time= a.y.getTime();
    Y= time;
    X= time;
    Thanks & Regards,
    Neelam

    This might not be a good example because I doubt that those are  <br />equivalent statements versus calling the function three times.<br /><br />What you're saving here is looking up a, y, getTime, and then calling  <br />a function that may have side effects (which is why I say they are not  <br />equivalent). You'd have to do this three times without keeping the  <br />return value, which is obviously more expensive.<br /><br />You could save some code by using a local function, but it'd have to  <br />be saving a considerable amount of duplication to outweigh the overhead.<br /><br />Jono<br /><br /><br />On Mar 11, 2008, at 2:16 AM, Tom Chiverton <[email protected]>  <br />wrote:<br /><br />> A new message was posted by Tom Chiverton in<br />><br />> Developers --<br />>  Flex Compiler efficiency<br />><br />> On Tuesday 11 Mar 2008, neelam verma wrote:<br />>> Var time= a.y.getTime();<br />>> Y= time;<br />>> X= time;<br />><br />> I remember reading somewhere that you should minimise function calls/ <br />> array<br />> lookups in your code, by doing just this.<br />><br />> -- <br />> Tom Chiverton<br />><br />> ****************************************************<br />><br />> This email is sent for and on behalf of Halliwells LLP.<br />><br />> Halliwells LLP is a limited liability partnership registered in  <br />> England and Wales under registered number OC307980 whose registered  <br />> office address is at Halliwells LLP, 3 Hardman Square,  <br />> Spinningfields, Manchester, M3 3EB.  A list of members is available  <br />> for inspection at the registered office. Any reference to a partner  <br />> in relation to Halliwells LLP means a member of Halliwells LLP.   <br />> Regulated by The Solicitors Regulation Authority.<br />><br />> CONFIDENTIALITY<br />><br />> This email is intended only for the use of the addressee named above  <br />> and may be confidential or legally privileged.  If you are not the  <br />> addressee you must not read it and must not use any information  <br />> contained in nor copy it nor inform any person other than Halliwells  <br />> LLP or the addressee of its existence or contents.  If you have  <br />> received this email in error please delete it and notify Halliwells  <br />> LLP IT Department on 0870 365 2500.<br />><br />> For more information about Halliwells LLP visit www.halliwells.com.<br />><br />><br />> ------------------------------------------------------<br />> View/reply at <a href=http://www.adobeforums.com/webx?13@@.59b4a370/0><br />> Replies by email are OK.<br />> Use the unsubscribe form at <a href=http://www.adobeforums.com/webx?280@@.59b4a370!folder=.3c060fa3 <br />> > to cancel your email subscription.

  • Flex compiler not using GlobalOptimizer.java?

    hello:
          I dived into the source of the flex compiler and I found that in the package adobe.abc in the Flexsdk/modules/asc/src/adobe/abc.
         as I just use the asc.jar to compile an actionscript file, with the -o2 option on, I found that it optimizes my program well!!
         however, when I read the source code of the mxmlc, I found no sign that the bytecode generated was optimized?why doesn't the compiler use the GlobalOptimizer? is the optimizer not yet completed or just as It did , but I haven't fount it?
         and in the GlobalOptimizer.java, what is the Plugin?
         any suggestions or references are appreciated.
         Thanks!!   ^_^

    I figured out the problem.  You have to Export the release build for the project and use that version of the swf.  I was using the version built by default when you work on the project.  Don't quite know what the difference is, but it works now.

  • Flex Compiler Error

    If I have a project in Flash Builder 4.6 that uses a specifc (custom) SDK name, that same project will see an error when you attempt to import it into Flash Builder 4.7. The project folder will show an X, indicating the original SDK cannot be found. Furthermore, when you try to correct this issue by going to Properties > Flex Compiler it just shows an error message. It should allow you to simply select the SDK for this project but due to the SDK conflict, it improperly removes ALL options to change the SDK and, instead, gives a text error message. This means it cannot be imported at all.
    There are two solutions to resolve this:
    1. You must go back to FB 4.6, assign the project an SDK known in both FB 4.6 and FB 4.7 (such a 4.6.0), resave it in FB 4.6 then import it again in FB 4.7 (where the SDK is recognized)
    2. You must import the custom SDK in FB 4.7 BEFORE you attempt to import the FB 4.6 project that uses it.
    Again, what needs to be fixed:
    FB 4.7 needs to properly provide the Flex Compiler section where the user can change the SDK. It needs to provide this screen even if there is an SDK conflict where FB cannot find the original SDK used for the project.

    Hi Jason, I was not able to repro the issue. Does this happen with the latest beta. Can you attach the project file?

  • Why do you need to go about linking to services-config.xml in your flex compiler

    Why do you need to go about linking to services-config.xml in
    your flex compiler when you want to do remoting. It just seems like
    a complicated way to do things.

    Yeah I find this perplexing as well. I'm guessing it has something to do with Opalis origins perhaps.
    Would be good to understand why.

  • Regarding building (ant) and debugging Flex components (Flex Builder)

    I am fairly new to graniteds + flex. The example articles on graniteds and blazeds use two separate applications i.e., using mxml components and actionscripts in another project. Why is this done so?
    It was hard to build the swf files in a separate project as the antscript needed something more.
    <mxmlc....>
    <source-path path-element="${basedir}/src"/>
    </mxmlc ..>
    The source here is the actual java source code. Unless I had the two projects together, I could not build the swf files. However, once I convert this one application to a java project, as flex project does not recognize java source code, I can no longer debug my flex screens. Am I missing something here?
    Help
    Krishna

    No suggestions yet?
    Could someone tell me if I could integrate these in one place atleast, if so how do we configure the application to be able to debug Flex applications?
    Thanks
    Krishna

  • Error while compiling .css to .swf using flex-compiler-oem-3.4.0.9271

    Hi
    I am unable to compile the .css to .swf using flex-compiler-oem-3.4.0.9271.  I see the following error. This issue is specifically on the QA environment and does not reproduce locally.
    The only difference that I see between the QA and my local environment is the load balancer. I read through some posts which say to comment the line which has en_US in the flex-config.xml which did not work.
    My case is that I am trying to compile the .css at runtime using the flex-compiler-oem-3.4.0.9271.jar file
    ERROR [STDERR] Error: Unable to resolve resource bundle "styles" for locale "en_US".
    ERROR [STDERR] Error: Unable to resolve resource bundle "core" for locale "en_US".
    Any help would be greatly appreciated.
    Thank you,
    Vinay

    I'd recommend the following:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    and use the following for reference:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
    or better yet on commandline:
    mxmlc -help list details
    Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.
    Your commandline will probably looks something like this:
    mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml
    Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.
    Hope that helps,
    Alex G.

  • Flex Compiler Name

    Hi,
            Please any one tell me the name of flex compiler for version 3.2
    Thanks & Regards,
    Jayagopal.

    There is also a variant called compc. You use mxmlc to make a SWF and compc to make a SWC.
    Gordon Smith
    Adobe Flex SDK Team

Maybe you are looking for

  • RFCs not working after Refresh, is this SecureStore issue?

    In our landscape we do frequent system refreshes (DB copy). we use to take out RFC table export and then import them back after refresh. every thing was fine till we upgraded to Netweaver 6.0. Now after refresh most of rfc donesn't work (one which ha

  • Have my songs in my ipod, but can't play them from iTunes

    recently imorted songs from CDs are in my ipod and, of course, listed in the library of iTunes, but when I try to play them usin iTunes, I am required "locate it because the original file cannot be found", although I can play those songs from my iPod

  • DVD eject problems recurring

    I have problems ejecting a DVD about 1 in 4 or 1 in 5 times I play one and I wondered if this was common to all iMacs or a problem with the Core Duo or OS X? It happens with all types, self burned and retail so I don't think it's linked to a single t

  • Screen of new iMac goes black

    I was amazed when the screen of this intel based iMac went black after trying to open a Word document. Since then it has happened several times when I have inadvertently tried to open such messages. I then have to shut it down and restart in order to

  • Please help me activate my cs3

    I had previuosly used bthe cs3 on my buisness laptop , but it was deactivated and now I am tryiong to install on my new ASUS computer