mathiasfk
mathiasfk

Reputation: 1290

How to get last executed JS functions

I'm working on a large and old project that run tons to JavaScript and sometimes when solving a bug its a bit hard to know which function has executed.

Is there a way to get a list of the last executed functions in Chrome Developer Tools?

Upvotes: 1

Views: 520

Answers (1)

Alex Filatov
Alex Filatov

Reputation: 2321

You have two options for resolving this issue:

  • You should use Profiler in Chrome Develper Tools:

    • Step 1: enter image description here

    • Step 2 enter image description here

So you can see list functions which was executed while profiling.

  • Also you can use PageSpeed Insights for Google Chrome extension (link)

Upvotes: 1

Related Questions