5 Replies Latest reply on Feb 15, 2009 9:18 PM by rahimhaji

    dubuging in Flex3 builder

    rahimhaji Level 1
      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\bin-debug\xtest-app.xml C:\Rahim\TestApplications\Flexapplication\xtest\bin-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,
      Syed Abdul Rahim
        • 1. Re: dubuging in Flex3 builder
          rahimhaji Level 1
          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\bin-debug\xtest-app.xml C:\Rahim\TestApplications\Flexapplication\xtest\bin-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>

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

          Thanks and Regards,
          Syed Abdul Rahim
          • 2. Re: dubuging in Flex3 builder
            JeffryHouser Level 4

            Are you using Firefox? IF so, be sure to disable all extensions. That worked for me.

            If you search through the bug base ( http://bugs.adobe.com/jira/secure/BrowseProject.jspa ) you should find a lot of similar issues with lots of suggested work arounds

            • 3. Re: dubuging in Flex3 builder
              rahimhaji Level 1
              Dear Mr.Jeffry,

              Greetings! thks a lot. i tried to disabled all the extension in my Firefox and then i tried to open the flex builder and debut the same file file. it is not running still got the same error message.

              pls help me to correct, how did u got this result? still iam getting the same error.

              pls help me.

              Thanks and Regards,
              Syed Abdul Rahim

              • 4. Re: dubuging in Flex3 builder
                John Hall Level 4
                Usually when I get this message, it implies that there's a second debugger session going on. Which version of the Flash debugger plugin are you using? 9 or 10?
                • 5. Re: dubuging in Flex3 builder
                  rahimhaji Level 1
                  Dear Mr.John Hall,

                  Thks for ur reply. Iam using Flash 9 player. Pls tell me how to set the debugger version. i checked up there is no another debugger is running. pls give me a solution.

                  Thanks and Regards,
                  Syed Abdul Rahim