[FB] Enabling network monitor can overwrite include-libraries compiler settings

2013-12-03 Thread Cosma Colanicchia
Beware of a strange Flash Builder behavior: when network monitor is
activated in the IDE, Flash Builder will automatically add an
include-libraries entry in the compiler configuration passed to MXMLC for
netmon.swc (you can see it telling MXMLC to dump the configuration). I
noticed that this may actually overwrite the include-libraries declared
in the source App-config.xml file, creating problems at runtime if your
project requires them.

Just spent some hours trying to debug this issue, I hope to save this time
to others and to my future self :)


Re: [FB] Enabling network monitor can overwrite include-libraries compiler settings

2013-12-03 Thread jude
So I'm guessing that's why it wasn't sending cookies when you I was in the
browser. I was logged into my site in the browser and sending and receiving
messages (checked in Firebug). When I turned on network monitor the
responses from the server were that I was no longer logged in and no
network calls were showing up in Firebug. When I turned off the network
monitor the calls went back through the browser and I was still logged in
(Firefox). Also, even if you pause or stop it it will still log calls in
some cases.



On Tue, Dec 3, 2013 at 8:31 AM, Cosma Colanicchia cosma...@gmail.comwrote:

 On the same subject: the network monitor act as a proxy to the actual
 services, that in turn will use the Eclipse proxy settings to forward the
 invocations to the real destination. If the Eclipse proxy isn’t correctly
 set, it will appears as if your application cannot reach the back-end, only
 when network monitor is enabled for that application...


 2013/12/3 piotr.zarzycki piotrzarzyck...@gmail.com

  Hi Cosma.
 
  One of my colleagues have noticed some strange behavior with this, when
 he
  switched off network monitor everything back to normal. :) But we didn't
  know what is in the background. Thanks for sharing this. :)
 
  Piotr
 
 
 
  -
  Flex/Air developer open to new job offers and challenges.
  piotrzarzyck...@gmail.com
  --
  View this message in context:
 
 http://apache-flex-development.247.n4.nabble.com/FB-Enabling-network-monitor-can-overwrite-include-libraries-compiler-settings-tp32908p32909.html
  Sent from the Apache Flex Development mailing list archive at Nabble.com.