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.

2
  • 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. Commented Mar 12, 2015 at 3: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 Commented Mar 12, 2015 at 3:49

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

torazahuro, you're the god to me !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.