Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trace on Chrome/Browser console

Does anybody know how to trace messages in the google chrome console using Flex3. In the logs section for example.

like image 728
Dave Avatar asked Nov 21 '12 12:11

Dave


People also ask

How do I run a trace in Chrome?

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.

What is tracing option in Chrome?

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.

How do I get stack trace on Google Chrome?

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.

How do I track a variable in Chrome?

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.


1 Answers

import flash.external.ExternalInterface;

ExternalInterface.call("console.log", "YourString");

See here for more information.

like image 151
Ranhiru Jude Cooray Avatar answered Nov 16 '22 01:11

Ranhiru Jude Cooray