1

I got assigned working on a front-end project written in a mvc frontend framework, every time when I try to debug the code base to better understand the application logic, I got sucked in to the framework code, for now, I don't really want to dig into the framework implementation, but only focus on the application logic. Here's my question: is it possible to hide those framework call stacks? Or somehow only step over the application call stacks and skip the framework call stacks automatically?

BTW, I'm using chrome devtools and webstorm IDE.

Joe
  • 279
  • 1
  • 4
  • 15
  • Not sure what you mean, but you can "step return" out of those things when you find yourself in them, and "step over" to avoid getting down there. You debugger should have those two buttons. – Thilo Mar 12 '15 at 03:48
  • the framework script also is just some javascript like the script you have so the debugger don't have a way to know which are yours and which belongs to some framework – Arun P Johny Mar 12 '15 at 03:49

1 Answers1

3

Chrome has an "manage framework blackboxing" option available under the "sources" section of the settings page you access through the gear icon in devtools. See here for more details. Here's a screenshot:

enter image description here

When you click it, you are able to designate libraries to "blackbox":

enter image description here

Related: 1, 2.

Community
  • 1
  • 1