What is your flex testing/debugging process?

Hi
I am writing a flex app that uses httpservice to load a php
script which in turn loads an XML doc from a URL.
Since the security model wont allow me to do this unless both
are being run from the same domain, my current process is:
code > build in flex > copy files from my flex
directory to the dreamweaver local site directory > use
dreamweaver to put the updated files onto the server > test
(but I can't debug) Is there a better way? There has to be!
TIA
Ed

Personally I would install XAMP or WAMP on my development
machine and set the Output Folder of your project to be the
document root of your local copy of Apache and the Output Folder
URL to be
http://localhost/
One-click running/debugging.
Alternatively, you can use Ant or FlexAnt to build and FTP to
your remote server.
Also, check out ServiceCapture or Charles. Great for
debugging Flex/PHP communication.

Similar Messages

  • Test / Debug Environment

    Hi Xi Guru,
    can u explain me what is meant by Test / Debug Environment in message mapping if possible provide me some PDF on it.
    Thanks
    kavitha

    The specified item was not found. - have a look

  • Once in a while, I get some errors with every tap on the screen, I've been getting this following error since a few days ago, it says" Your request cannot be processed, Error code 1009" . What is it and what should I do?

    What does this error mean?! " your request cannot be processed, error code 1009".

    Read through this article for iTunes Store troubleshooting:
    http://support.apple.com/kb/TS3297

  • How do you debug your unit tests?

    Hey folks,
    I'm obviously doing something wrong that I can't figure out. I've tried following Chris Hanson's instructions that he put on LJ. No matter what I do, I can't get the debugger to breakpoint in a unit test, no matter whether I put the breakpoint in the test code or the worker code. I can get it to breakpoint just fine in the worker code when I run the real app.
    How do you do this on your unit test code?
    Thanks,
    Pat

    Tried that. No joy so far. That's why I asked here; I hoped that someone here had done it successfully.
    Pat

  • TS3297 What can I do for Message 'Your request cannot be processed Error code: 1009  ?

    Message 'Your request cannot be processed Error code: 1009
    What can I do for above error?

    iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - includes list of iTunes error codes
    If you are asking questions about using iTunes for Windows, there is a forum for that.  This is the iTunes for Mac forum.

  • HT1692 What if your iPhone's contacts were replaced by your outlook contacts, but you want your previous iPhone contacts back? What process do you do to get them back and replace the outlook contacts?

    What if your iPhone's contacts were replaced by your outlook contacts, but you want your previous iPhone contacts back? What process do you do to get them back and replace the outlook contacts?

    If you asking me, I would suggest to additonally use a second storage service which also allows you to store your pictures over the 30 days period. I personally use Dropbox with automatic upload for that (https://db.tt/cMEgDUFZ), but there are also other storage services like Flickr for example.

  • What is your bussiness process in sd?

    what is your bussiness process in sd?

    dear srinivas,
    business process is nothing but how our clints business runs
    it depends on Company to Company
    in SAP we will call it AS IS mean clints present business process
    for Ex: in some pharma companies they will send the invoice before delivery, once they get the payment then they will delivery the goods
    for this we will configure in SAP as per the clints business requirement, we will call it TOBE
    hope it clear now
    rewards if it helps
    siva

  • Allow modifications?  What is your companies process?

    Hello.  In general, we do not allow our development teams to modify SAP code and/or objects.  With the exception of SAP OSS notes.
    However, there are times when a modification may be necessary.  We typically will request, when possible, that they use Append Structures for tables, or write a Z-program for ABAP.
    What is your companies policy on allowing modifications to your SAP system?  And, who in your organization oversee's, evaluates requests, and polices this?
    thanks for your comments!
    Steve

    Well at my company, we do not allow for modifications of standard objects aside from the user exits within SD.  This is not a harden fast rule, but a preference.  There have been occasions where it was a must, two that come to mind is the standard program for uploading routings via LSMW, and the other is within the CO40 transaction.  The first was to help with messaging since the standard didn't provide good messasges to the user, the second was a performance issue which we went thru OSS, but they said that is the way it should be and we are not changing it.  Both worked out good for us, but of course we need to take a second look when upgrading.  I am the only developer here, so it is easy to manage the modification, and the rule of thumb is, if we absolutly must, then ok, but make sure you explore other alternatives first.
    Regards,
    Rich Heilman

  • Running "Flex test drive" - Got error while attempting to connect to data service

    Hi,
    I'm a Flex / Flash builder beginner. I downloaded the 60 days evaluation, and started to run the "Flex test drive" :
    http://www.adobe.com/devnet/flex/testdrive.html
    My configuration :
    XP SP3 PRO french edition
    Tomcat 6.0
    My local Eclipse :eclipse-jee-helios-SR2-win32 (but also got the issue on the Flash Builder Eclipse, which version is 3.4.0 (Generation ID M20090211-1700)
    Flash Builder 4 with Eclipse plug-in
    All on same PC
    The Test Drive proposes examples in three technologies : Cold Fusion, PHP and Java. I'm doing the Java examples.
    Installation of Flash Builder, as well as step 1 of the Test Drive (Build the user interface) went fine. I could run the project, which at the end of step 1 correctly displayed the UI in my browser.
    Only one problem, I don't know if it is relevant for the rest of this post : I first got an error, saying that ports 8080, 8005 and 8009, requested by Tomcat, where used. After a short Google search, I fixed it by changing these ports to 8081, 8006, and 8010, in the Tomcat 6.0\conf\server.xml file.
    The Test drive second step is "Connect to data". I found some discrepancies between the Test Drive doc, and what is displayed in Flash Builder. The Test Drive says :
    "Use the Data menu and the Service Wizard to create a service for your application server. For ColdFusion and Java, specify the service file you put on your application server earlier (see Figure 9 for a PHP example). For Java, select the No password required check box, select the employeeService destination, and change the service package to services.employeeservice."
    --> But there is no "No password required check box".
    Also, when running the "Connect to data/service..." wizard, it was not at first completely clear what to choose. The proposed choices were :
    BlazeDS
    ColdFusion
    HTTP
    LCDS
    PHP
    Web Service
    XML
    Since all others choices, when tried, declared to be unconsistent with my project's server type, I finally selected "Web Service".
    In the next wizard's form, according to the Test Drive indications, I specified the URI of my EmployeeService class : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\testdrive\WEB-INF\classes\services\EmployeeService.class
    That defined correctly the other fields.
    But when pressing the "Next >" button, Flash Builder issued the following error message :
    English translation : Unable to extract operations and entities from specified WSDL. Reason : an error occured while instrospecting the service.
    And the full error text is :
    An error occured while instrospecting the service. WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/testdrive/W EB-INF/classes/services/EmployeeService.class'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
    It is usually relatively easy to find fixes through Google searches, but this time, it didn't work. So here I am, expecting a bunch of wise answers from all the nice Flex / FB gurus that I'm sure haunt this forum .
    Thanks and best regards.
    Marc.

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • What is "Start" and "Start Debugging" are needed in SSDT project?

    Hi,
    I can not get why do I SSDT has Start With/without Debugging button. I can understand why is it needed when I am debugging stored procedure or T-SQL code. However I can click on that for the project. It builds it, implements changes to the database, doing
    something else ... What is the difference with publishing?

    Hi Sidukas,
    Mostly it is used for smoke testing
    Starting With Debugging
    When you press F5 (Start Debugging) in Visual Studio it launches your application, attaches the Debugger, and let's you do all the "normal" things you would expect: 
    The Visual Studio debugger is a powerful tool that allows you to observe the run-time behavior of your program and locate logic errors. The debugger works with all Visual Studio programming languages and their associated libraries. With the debugger, you can
    break, or suspend, execution of your program to examine your code, evaluate and edit variables in your program, view registers, see the instructions created from your source code, and view the memory space used by your application. With Edit and Continue,
    you can make changes to your code while debugging, and then continue execution.
    The Visual Studio debugger provides a Debug menu for access to debugger tools. Debugger windows and dialog boxes display information about your program and enable you to enter additional information. You can obtain Help on any window or dialog box by pressing
    F1.
    Start Without Debugging
    This is exactly what it sounds like.  It starts the application WITHOUT THE DEBUGGER ATTACHED.  That's it!  Nothing else.  It just doesn't attach the Debugger.  Otherwise everything else is the same.  So, the practical implications
    of this are obvious:  Without the Debugger attached when the application runs it will not hit Breakpoints, emit Debug messages, etc.  So now let's deal with the biggest myth about Start Without Debugging.
     Myth:  Start Without Debugging Creates a Release Build
    Nope.  It uses the build you are currently on.  So if you are using a Debug build and you press CTRL + F5 then it will run that Debug build.  The easiest way to test this is to use conditional compilation to see if you are using a Debug build:
    Finally
    Okay, so the obvious question is "Why?".  I mean, why would they give us this option?  Well the most obvious answer is so we can run the application without having to hassle with disabling breakpoints, etc. to do a quick "Smoke Test"
    and see if it runs.  There may be other reasons you have for wanting to run without the Debugger attached as well.  So now you have a better idea of the difference between Start With and Start Without Debugging.  Go forth and debug away!
     

  • What's the recommended setting for "Process memory usage" ("process virtual" in UI) for a 64-bit host on a 64-bit OS?

    Hi gurus
    In resource based throttling, what's the recommended setting for "Process memory usage" ("process virtual" in the resource based throttling tab of the UI) for a 64-bit host
    on a 64-bit Windows OS?
    According to MS (http://msdn.microsoft.com/en-us/library/ee308808(v=bts.10).aspx):
    "By default, the
    Process memory usage throttling threshold is set to 25. If this value is exceeded and the BizTalk process memory usage is more than 300 MB, a throttling condition may occur. On a 32-bit
    server, you can increase the Process memory usage value to 50. On a 64-bit server, you can increase this value to 100. This allows for more memory consumption by the BizTalk process before throttling
    occurs."
    Does this mean that 100 is the recommended setting for a 64-bit host on a 64-bit Windows?
    Thanks
    Michael Brandt Lassen

    Hi Michael,
    Recommended setting is the default setting which is 25 .dot.
    If your situation is abnormal and you see message delivery throttling state to “4” when the following performance counters are high or if you expect any of you integration
    process could have impact on following counters, then you can consider the suggestion by Microsoft. Don’t change the default setting.
    High process memory
    Process memory usage (MB)
    Process memory usage threshold (MB)
    You can see these counters under “BizTalk:MessageAgent”
    You can gauge these performance counter and its maximum values if have done any regression/performance testing in your test servers. If you have seen these counters having
    high values and causing throttling, then you can update the Process memory usage.
    Or unexpectedly you’re process high throughput messages in production which is causing these counters to go high and cause throttling, then up can update the Process memory
    usage.
    The above two cases where I know my expected process usage (by doing performance testing) or suddenly my production server processing has gone high due to unexpected business
    hike (or any reasons) which caused throttling, then do changes to default throttling setting.
    Just changing the default setting without actual reason could have adverse effect where you end up allocating 
    more processing capacities but the actual message processing message usage ever is low means you end up investing in underutilised resources.
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • What is procedure for testing a PI interface ,

    what is procedure for testing a PI interface , i need step by step , please help me .
    there is  secnerio  from mq seris to idoc , the large amount of data is coming . i want to do testing for this .
    weather any test case are there .
    other rwb , pay load , any other option is there .

    Hi,
    divide your scenario into Success and Failure Cases..
    Success Case :
    1. Message should get processed successfully in PI and in ECC (idoc).
    Failure Case :
    1. Check the adapter fails an alert is triggered.
    2. Check for the Mapping Failure and alert is triggered.
    3. Finally idoc failure errors in both PI and ECC..
    HTH
    Rajesh

  • What's YOUR Idea of an "Ideally Organized HD?

    What's YOUR Idea of an "Ideally Organized HD?"
    I've been giving this a lot of thought lately. Whereas it is obvious that OSX organizes your hard drive better than anything on Windoze, especially when you consider the power derived from using Spotlight, I have been wondering exactly WHAT, WHAT does an Ideally Organized Hard Drive look like? What are it's properties? I don't mean how it should look specifically to YOU, the single user. I mean what does an ideally organized Hard Drive look like to everyone running OSX? (which is everyone). What are some of the components of a ideally organized hard drive? What does it look like/feel like? Not necessarily in order of importance, I'll start this one off:
    An Ideally Organized Hard Drive Has These Properties (feel free to add your ideas):
    1) All the music, documents, apps, pictures and movies go into their designated locations, just for starters. You may even want to create another main Category such as I did, and call it "All Talk & Sound FX". Here's where I stick my voice, and talk radio, and verbal jokes etc. for example.
    2) There are NO identical (duplicate) files, but the thorough and profuse use of Alias files are implemented. {{{if you have duplicates, and you update the one, you necessarily have to update the other, otherwise, you don't have duplicates anymore, right? But if you use an Alias, no matter which file, original or Alias, that you update, BOTH files are updated.}}}
    3) The HD is organized for EASY Backup on a daily basis: Everything new gets placed into an "Everything New" file (call it what you want) on the Desktop, then this one folder is backed up daily, saved onto an external HD, then loaded back and now actually saved onto the HD as new stuff just once a week (in accordance to #1); this is the outcome from doing a Restore from this backed-up "Everything New" folder. Everything goes into this "Everything New" folder on a daily basis; however, Applications are installed immediately whereas everything else just gets popped into the "Everything New" folder for holding.
    4) Many files are annotated in the Get Info Window with easy to find key words and comments. Spotlight will do the rest my friends!
    5) A DMG of the HD (a perfect Clone which is achieved using your Tiger Disk--Disk Utility) is done on a weekly basis (heck, all you have to do is launch the software at night, go to bed, have an automatic shutdown on your Mac for about 3.5 hours later (for a 23GB DMG Disk Image)). {{Note that a Restore from the "Everything New" folder must be done first!, prior to making the DMG}} When this Disk Image is made, it will have All of your Preferences, All of your newly installed applications, All of your Bookmarks, All of your new additions to iCal, All of your new Addresses, EVERYTHING, and therefore these specific folders do NOT have to be backed up **separately** by using this process as I describe.
    Once a week you will Restore from this DMG (which takes an hour if you have previously verified/mounted this image), then delete the week-old Backup of the "Everything Folder", because your HD now now has all these files added to it (remember, the key here is to do a Restore from the "Everything New" folder first, before you made the most recent DMG). You can now also delete any old Disk Images that you want, because you will be making more! (I always keep 2 or 3 on hand). You can now also delete any old "Everything New" backups from your External, because you will be making more of these backups as well!
    6) Your Hard Drive should utilize the copious amount of custom icons, in order to quickly spot and identify files/folders.
    7) You have created shortcuts (Alias') on the HD, which point to spots on the External HD, (which is not only used for Backup as recently described) to facilitate the transfer of large files (example: AIFF's) to/from the external HD. My External HD has a working "Powerbook" folder where these files are saved to, keeping my internal HD at a bare minimum of growing size, yet the files are easily uploaded/downloaded between the external and internal, and viewed, when the External is attached (of course) to the internal.
    8) The hard drive lacks any sensitive material whatsoever, i.e. passwords are kept on an external hard drive, and new ones are backed up daily to the Everything New folder. Using a free program such as Password Vault also strengthens this area of security and organization. If the Passwords are kept to an external location, and yet are easily accessed by an Alias, then they are 100% safe to reside on the External, since the External would have to be attached in order for the passwords to be read.
    9) Maintenance is run routinely on the HD, using a program such as Onyx, especially before and after the disk image process. You can also schedule Onyx to run the Apple maintenance scripts automatically, when you are asleep. Also part of this maintenance would be running a program such as Disk Warrior, before and after the disk image process. Onyx and Disk Warrior go hand in hand, and although you will not "see" (visually) HOW your HD has been organized more efficiently, you will experience the benefits of using Disk Warrior (faster/more responsive), which organized your HD Directory automatically.
    10) Another nice little Utility is SpeedTools, which has a great program for Defraging files. Yes, I've found that Disk Defrag does work. Point #10 does nothing for "organizing", however I make this point because Disk Defrag does indeed help your HD to run more efficiently (thus faster).
    *** Ohh by the way, maybe I'm saying the following as a joke, maybe I'm not. But if you follow my suggestions above, you wouldn't be so paranoid about downloading the latest update to Tiger (or Leopard when that comes out) because the old "Archive & Install" option becomes obsolete. If you run into trouble NOW, using my methods, you now have the peace of knowing that you have a perfectly Cloned Disk Image of your valuable, ideally organized Mac HD, residing on an external drive and just waiting to be called into action! ***
    Finally, please note that I am not telling you how to organize your hard drive, I am only suggesting this as one way to do it, and the way that I do it. If you have something totally different from this, but it works for you, please post that. If you want to add to what I've said, go right ahead! But if you don't agree with something I've said, then by all means offer your own suggestion and be civil about it! Thanks!
    ~ Vito

    You and everyone else that takes the time to read, and understand what I said, and can benefit from this, is WELCOME! ; )
    By the way, I forgot to mention. I use "Micon" a little terrific freeware program (from VersionTracker) to make (initialize) my custom icons. I also use Graphic Converter to make my own original icons of anything I like. Don't underestimate the value in making your own custom icons-- they really stand out from the "standard old blue".
    ~ Vito

  • What are your impressions of "multi-tasking"?

    If you have iOS4 and a capable device, you should have multi-tasking and opened apps appearing in the task bar. Newer app versions are able to run in the background. In my opinion, when I close most apps (by pressing the home button), I want them to close completely, not run in the background. Aside from being a privacy issue, apps in the task bar may use battery power or if truly in a suspended mode, they still take up memory or process capability. In order to really shut them down, two additional home button clicks and then two more screen strokes are required. Not very efficient and probably leading to an earlier home button failure. Why not have some kind of screen command (tap or swipe combination?) to simultaneously shut down all apps in the task bar? The bar itself is useless if you have used many apps in the course of a day. To find what you're looking for, you have to scroll through a long parade of icons. It's a lot easier to just tap the icon where you know it is sitting in the nice folder you created. I don't get it. I realize the bar can be used for switching open apps, but this is really not that big of a deal for the vast majority of apps. Furthermore, there should be an option to enable or disable multi-tasking globally as well as for individual apps. Now that would be an improvement.
    What are your thoughts?

    I havent done any kind of multitasking on my ipod touch, im waiting to upgrade my software to the newer one. However, I couldnt agree more with that of pressing the home button many times to perform basic function to switch apps or enable the multitasking ability. I think palm adapted a better design of software than apple ever did with their IOS 4. Palm's webOS can handle full multitasking--something the iPhone can't do. Palm uses what it calls "a deck of cards model" for managing multitasking: You can view each of your open applications at once, shuffle them any way you choose, and then discard the ones you want to close. All of this is done with intuitive gestures that mimic handling a physical deck of cards. Apps remains live, even when minimized into the card view, so changes can continue to happen in real-time, even if you've moved on to another activity.
    I had the time to experience a bit of a palm web os software on an AT&T store and my impression on that software is done more elegantly than apple multitasking home pressing button system.
    P.S to NYtroutbum: you should definitely present that idea to apple by its feedback product page. Let's hope it listens.

  • I need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009". and after they said "we could not complete your request. There was an error in the App Store. Please try again later (nul

    i need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009".
    and after they said "we could not complete your request. There was an error in the App Store. Please try again later (null)".
    COMPUTER DETAILS: MacBook Pro 13-inch, Mid 2012 OS X Version 10.9.5; Processor 2,5GHz Intel Core i5; Memory 4 Go 1600 MHz DDR3.
    Thanks beforehand!!!

    Error
    what is error code 1009?

Maybe you are looking for