开发者

jQuery lambda functions

开发者 https://www.devze.com 2022-12-10 07:17 出处:网络
jQuery uses lambda functions extensively wherever a function is to be passed into another function. But Visual Studio 2008 would not honor break points that are set inside a JavaScript lambda function

jQuery uses lambda functions extensively wherever a function is to be passed into another function. But Visual Studio 2008 would not honor break points that are set inside a JavaScript lambda function. Anybody knows any wo开发者_运维技巧rkaround for this other than giving an explicit name for the function and passing this to the jQuery functions?


try using Firebug.


Put debugger statement into your function.

$.get('http://...').on('data', 
    function(data) {
        debugger;
    }
);
0

精彩评论

暂无评论...
验证码 换一张
取 消