Is possible to debug dynamic loading JavaScript by some debugger like WebKit, FireBug or IE8 Developer Tool?

前端 未结 12 1196
南方客
南方客 2020-11-27 09:57

From my recent question, I already created some JavaScript function for dynamic loading partial view. So, I can\'t debug any dynamic loading JavaScript. Because all of loade

12条回答
  •  独厮守ぢ
    2020-11-27 10:30

    I think you might need to give the eval'd code a "name" like this:

    http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/

    If you do, I think it's likely the debugger approach from "update 2" should work then.

提交回复
热议问题