Does anybody know how to trace messages in the google chrome console using Flex3. In the logs section for example.
Capture a trace from Chrome on Android (with DevTools)Go to chrome://inspect?tracing on desktop chrome. Find the app to be traced, and click on the trace link beside the title. Click on "Record" at top left.
The internal tracing system can also display system events, for some platforms, such as cpu utilization or disk activity. For example, on Android, it is possible to view most of the system events alongside the internal ones, giving us a deeper and better understanding of the interactions between Chrome and the system.
To view the call stack, open DevTools Sources panel and on the right panel, expand the Call Stack panel to see all the current functions in the call stack.
To add a variable to the watch list use the add icon to the right of the section heading. This will open an inline input where you provide the variable name to watch. Once it is filled in press your Enter key to add it to the list. The watcher will show you the current value of the variable as it is added.
import flash.external.ExternalInterface;
ExternalInterface.call("console.log", "YourString");
See here for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With