您的位置:首页 > Web前端 > JavaScript

javascript debut trick, using the throw to make a interrupt(breakpoint) in your program

2014-01-27 21:06 609 查看
console.log('initialize');
try
{
throw "breakPoint";
}
catch(err)
{}


when I debug the extjs, the ext loader usually make the debuging breakpoints lost. I use the previous code segment to interrupt the program where I want it stop.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐