jQuery lambda functions
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;
}
);
精彩评论