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

    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.

上一篇:OpenGL——OpenCV与SOIL读取图片进行纹理贴图


下一篇:CSS---网络编程