Debugging the FLEX Application
Hi,
How to debug the flexapplication like .NET application
Thanks
Use the debugging Flash Player and Flex Builder's debug mode.
Tracy
Similar Messages
-
Debug the Flex Application with tomcat Server
Hi,
I have the adobe flex builder plugin with my eclipse and I created a Flex project which is running on my Tomcat Server. Now, I would like to run my application in debug mode and I could not see the debug perspective. But, if my application is not configured with tomcat server, I can the debug perspective in my eclipse.
Do we need to do any additional settings for viewing the debug perspective for Flex Applications which is configured in tomcat Server?You can't debug an app on the server, at least not using the debug perspective. Troubleshooting deployed apps if far more difficult.
If this post answers your question or helps, please mark it as such. -
Best Testing tool to test the flex application?
Hi
What is the best tool to test the flex application ... and why? any ideas.... We are using flex unittest runner... better than this any thing other tools available....
Thanks
RamHi,
try flexunit associated with SpringActionscript. Very Powerful. You can test over service call, testing UIComponent, validations and many more. -
Flash won't run the flex application (swf)
I'm Italian so my english isn't perfect....
I try to run a flex application (swf) on a pc without flash
player 9 (8.5) (on firefox and IE)....the flex application ask
correctly if i want to install the flash player....but anyway,
after the installation....the flex application doesn't run....
also, i try to restart the pc....but....swf doesn't
run.....anybody have the same problem ??Hung program: command-option-esc
Shut down: hold down power button for 5-10 seconds. -
Debugging the portal application
Hi all,
It is possible to debug the portal application.
If yes how.
Regards,
Aravindhan.RHi Aravindhan,
Check out this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/Previewing%20and%20Debugging%20Portal%20Applications_Debugging%20Portal%20Applications.html
Also do not forgot to set iViewProcessorService property, ProductionMode to false.
Regards,
Ashutosh -
how can flex tell if it's a mouseup event when the user
releases the mouse button outside the flex application? Say for
instance mousedown was done within a 500x500 embedded flex app but
mouseup is outside or relased on the HTML background. One more
thing, when we have something draggable, Flex doesn't execute the
stopDrag() when the user releases the mouse button outside the
embedded swf or fles app. Pls. help me with this. Thanks!I don't think the flex app can tell what happens outside the
app. But it can detect when it leaves the app, so I have found the
following line works fine inside initApp():
this.stage.addEventListener(Event.MOUSE_LEAVE, yourFunction);
and you have to:
import flash.display.Stage;
Doug -
How to debug a Flex application on a mobile device
I have a Flex application that has been tested thorougly on all major operating systems and browsers with no issues. However, it does not work on my Droid device (Droid X also tested on EVO).
My current Flash version on my phone is: 10.1.105.7
My application is getting stuck at the very begginning when loading some XML via a URLRequest after loading a policy file manually. I've looked at the WebServer debug messages and it seems like the request is never made. What's the best way to debug this? Is there an equivalent debug player for Android?
Thanks!Use Flash Builder Burrito from Adobe labs. I am able to launch debug sessions w/ the app on my nexus one. Although this is for native apps; I do not know if there is a way to test browser based apps
-
Need help in localizing the Flex Application
Hi,
I need help in localizing my Flex Application.
my Question is: How to make SPANISH as the default language of Flex Application(Progamatically)? By default its taking en_US as the locale but my requirement is to change it to sp_SP(SPANISH)..
Thanks in Advance..
PradeepLocalization tutorial:
http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_3.html
How to change the locale at runtime:
http://cookbooks.adobe.com/post_Change_Locale_at_the_runtime-11143.html -
Debug the swing application from eclipse
Hi
I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
Note: I can able to debug simple swing application. But i can't able to debug this application.
Thanks
mindusIf it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this. -
How to debug the webdynpro application
Hi ,
i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON and also enable debugging of process also but it is giving error message like this
<b>Failed to Connect to remote VM.Connection Refused</b>Hi Nageswara
The link provided shows you hoe to debug WebDynpro application.
Its a eLearning course available on sdn, which shows step by step process.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/3178ae74-0701-0010-ba8d-e3ca9f1edc1e
Hope ur problem is solved.
Pls award points for answers. -
Error Accessing internet from the flex application.
Hi
I am getting the following error while runningm my flex
application deployed on the OC4J server. The error did not come
when I was running the application directly from the flex builder.
However , after deploying it on the application server my
flex application cannot access the internet and in turn
throws this error. Does this have anything to do with the
'crossdomain.xml' file, which most probably does not exist on my
server. If that is the case, please can somone let me know as to
where exactly do I put the 'crossdomain' file.
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
TIA
~ShishirThis file goes in the"root of the web server". Now tis is not
very helpful so here are some examples:
IIS default:
C:\Inetpub\wwwroot
Flex 1.5 "integrated Jrun" default installation
C:\Program Files\Macromedia\Flex\jrun4\servers\default
Tomcat:
C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps
If in doubt, put one everywhere until it works, then take
them out until it breaks.
Use the universal permission until you get it working:
<allow-access-from domain="*" to-ports="*" secure="true"
/>
Tracy -
Debugging the webdynpro application
hi
iam trying to debug my webdynpro application
its showing as
selected server node doesnot run in a restricted load
balancing mode
any suggestions ?hi
thanks for the reply
i have gone through this document
in selecting the j2ee engine where we select
server node its showing up the error as in the cluster
we have two nodes server 0 and server 1
any suggestions ? -
Debugging the mobile application
Hi experts,
I want to debug the PDA data on my desktop.
SAP asks for client image( MI folder of PDA ) to be sent and then debug the cause.
I want to do same but what all folders are needed for the same and how to do the same is confusing me.
I am using eclipse( with MDSD plugin ) and MDSD2.1 application..
Someone help me please..
Regards,
AkhilDear Abhishek,
Full MI folder is not needed for MDSD application.
Only specfic folders will solve the purpose.
Regards,
Akhil -
How to stop the Flex application when user clicks on Cancel button from JS-confirm message?
Hi All,
I use the next code when a user clicks on a link:
private function clickHandler():void
ExternalInterface.call('confirm', 'Of course you want to go to the Adobe forums!');
navigateToURL(new URLRequest('http://forums.adobe.com'), '_self');
This will show up the javascript confimation box. But when the cancel-button is clicked, the user goes straightly to http://forums.adobe.com...
How to stop Flex performing the next code when a user clicks on the Cancel button?
Or, how to catch which button is clicked by a user in Flex?
Thanks!I agree with Mr. Hall that using mx.controls.Alert in Flex may be a better route.
Show the Alert like this:
// show an alert with a question and yes and no choices
Alert.show( "Would you like to go to the Adobe Forums?", "Question",
Alert.YES | Alert.NO, this, closeHandler, null, Alert.YES );
Then handle the response in the closeHandler() function:
protected function closeHandler( closeEvent:CloseEvent ):void
if( event.detail == Alert.YES )
navigateToURL( new URLRequest('http://forums.adobe.com'), '_self' );
else if( event.detail == Alert.NO )
// they chose no
The following documentation on Alerts may be helpful:
http://www.flexafterdark.com/docs/ActionScript-Alert
Let me know if that helps...
Ben Edwards -
Issue while starting the flex application
I have an app that has been working for over 4 months now, but it started giving me this strange error starting this morning. It doesn't even start the app. Pls let me know if you have any suggestions.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/internal::getHeaderInfo()[C:\work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:2366]
at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::getHeaderInfo()[C:\work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:2147]
at mx.controls::AdvancedDataGrid/getFieldSortInfo()[C:\work\flex\dmv_automation\projects\dat avisualisation\src\mx\controls\AdvancedDataGrid.as:6840]
at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/getFieldSortInfo()[C: \work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClass es\AdvancedDataGridHeaderRenderer.as:757]
at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/measure()[C:\work\fle x\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\Advanc edDataGridHeaderRenderer.as:481]
at mx.core::UIComponent/measureSizes()[C:\autobuild\3.2.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:5956]
at mx.core::UIComponent/validateSize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:5902]
at mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:837]
at mx.controls::AdvancedDataGridBaseEx/calculateHeaderHeight()[C:\work\flex\dmv_automation\p rojects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:2249]
at mx.controls::AdvancedDataGrid/calculateHeaderHeight()[C:\work\flex\dmv_automation\project s\datavisualisation\src\mx\controls\AdvancedDataGrid.as:3141]
at mx.controls::AdvancedDataGridBaseEx/makeRowsAndColumns()[C:\work\flex\dmv_automation\proj ects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1915]
at mx.controls::AdvancedDataGrid/makeRowsAndColumns()[C:\work\flex\dmv_automation\projects\d atavisualisation\src\mx\controls\AdvancedDataGrid.as:7169]
at mx.controls.listClasses::AdvancedListBase/updateDisplayList()[C:\work\flex\dmv_automation \projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3504]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\proje cts\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1778]
at mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\da tavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automati on\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]Maybe it is a timing issue you didn't see before.
Check for areas of the app that might be dependent on other areas of the app being in a certain state, or dependent on data existing.
Or try to boil your case donw to simplified code and post here.
Maybe you are looking for
-
I am installing Windows 7 and I get an error message: "Your disk could not be partitioned. An error ocurred while partitioning the disk". I was using a Windows & Home Premium OEM Software that I purchased from Microsoft. I was given to Windows 100GB
-
Hi Is there anyone who knows how can update payment block ?. There are some functions which sets as space AC_PAYMENTBLOCK_UPDATE but I am curious about is it possible with FI_DOCUMENT_CHANGE ? Regards
-
G/L account number vs Cost Element
Hello Friends, I need your help to know the diffrence between G/L Account and Cost Element.Do they consist of the same numbers and/or text.I am a non functional guy and i need to get the order numebrs from Table A which has G/L Acct number and Table
-
AIR Application Silent install
Is it possible to start AIR application immediately after Silent install. We have already signed up Adobe AIR Runtime Distribution Agreement. and i am using below command line for silent install. Airinstaller.exe -silent -eulaAccepted -location "C:/P
-
Hello there, I am having problem changing a classic ABAP report to ALV as am hitting the error "field catalog not found". I am using this 2 functions to help me convert it to ALV format. and a snippet from my code : MODIFY gt_i_data FROM wa_i_da