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 workaround for this other than giving an explicit name for the function and passing this to the jQuery functions?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
try using Firebug.
回答2:
Put debugger statement into your function.
$.get('http://...').on('data',
function(data) {
debugger;
}
);