PDA

View Full Version : debugging in Flex3builder is not working!


vasigaran
02-15-2009, 10:47 AM
Dear Friends,
iam developing a stand alone application using Flex, find below the flex coding. when i debug the mxml with FlexBuilder3, it is giving the following error:
-------------------------
Process terminated without establishing connection to debugger.
Command:
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\adl.exe" C:\Rahim\TestApplications\Flexapplication\xtest\bi n-debug\xtest-app.xml C:\Rahim\TestApplications\Flexapplication\xtest\bi n-debug
Output from command:

invocation forwarded to primary instance
------------------------
in this iam trying to connect the xml. if run the mxml code using Flex3SDK, it is generating the swf.

i need use the same in FlexBuilder3 and i need to pack and deploy the application.

my mxml code is:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="feedRequest.send();">

<!-- The url property specifies the location of the requested file,
in this case the RSS 2.0 feed of Matt Chotin's blog.
As of this writing, the URL was still valid, but you should
check to make sure it hasn't changed.
You should use the latest RSS 2.0 URL listed on the right side of
the blog at http://www.adobe.com/go/mchotinblog. -->

<mx:HTTPService
id="feedRequest"
url="http://weblogs.macromedia.com/mchotin/index.xml"
useProxy="false" />

<mx:Panel title="HTTPService Example" height="75%" width="75%"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">

<mx:DataGrid id="dgPosts" height="50%" width="75%"
dataProvider="{feedRequest.lastResult.rss.channel.item}">
<mx:columns>
<mx:DataGridColumn headerText="Posts" dataField="title"/>
<mx:DataGridColumn headerText="Date" dataField="pubDate"/>
</mx:columns>
</mx:DataGrid>

<mx:TextArea height="50%" width="75%" htmlText="{dgPosts.selectedItem.description}"/>

</mx:Panel>
</mx:Application>Text

i got structup kindly help me to finish my project...

Thanks and Regards,
vasigaran

Sekhar
02-15-2009, 11:19 PM
Did you install a debug version of the Flash plugin/player?

vasigaran
02-16-2009, 07:49 AM
Dear Mr.Sekhar,

Thks 4 ur reply. i have flash player 9 in my system. How can i install Debugging version of Flash player? in fact iam trying to connect the xml by the following code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">

<mx:Script>
<![CDATA[
[Bindable]
private var _data:XML = <root>
<options>
<name>Your Label 1</name>
<name>Your Label 2</name>
<name>Your Label 3</name>
<name>Your Label 4</name>
</options>
</root>;
]]>
</mx:Script>


<mx:VBox horizontalCenter="0" verticalCenter="0">
<mx:Repeater id="myRepeater" dataProvider="{_data.options.name}">
<mx:CheckBox label="{myRepeater.currentItem}"/>
</mx:Repeater>
</mx:VBox>
</mx:Application>

when i run the above code with Flexbuilder3 it is not giving output. if is compile the mxml with flex3sdk it is generating swf and shows output.

i want to run the project pls help me....

Thanks and Regards,
Vasigaran

wvxvw
02-16-2009, 08:55 AM
Go here:
http://www.adobe.com/support/flashplayer/downloads.html
And download the debug player for the browser / OS you're using.