Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good way to trace javascript execution as it happens (but skip jQuery)?

I want to step through a javascript as it happens, but skipping the steps where the functions are in jQuery.

Is there any way this can be done?

like image 767
meow Avatar asked Feb 26 '23 05:02

meow


1 Answers

You can use Step Over when you are debugging. Step Over will simply go to the next line of code without going into the called method. This will make sure you don't go into jQuery method.

What you have probably been using is Step Into which goes to the next line of code that will be executed. This makes you go into the jQuery method when you are debugging.

In both Google Chrome and Firefox (with Firebug), the button Step Over and Step Into are right next to each other, just make sure you press the right one.

like image 199
HoLyVieR Avatar answered Apr 27 '23 09:04

HoLyVieR