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.
相关文章推荐
- 使用cocapods报错 [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes
- USING BISECTION SEARCH TO MAKE THE PROGRAM FASTER
- Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JRE’s are also using JDK installs
- 32-bit Assembler is Easy, why and how to develop using the assembler; start learning to program in Assembly now!
- Matrix and linear algebra in F#, Part IV: profile your program, find the bottleneck and speed it up: using matrix multiplication as an example[z]
- make the javascript to run in innerHTML
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- How to solve: when using tab in gnomeTerminal , the entire screen flash,
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- Create a program the checks all the links in your web page whether they are active or not.
- How do I perform a manual full refresh instead of using the Apply program to do the full refresh?
- ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp
- In Javascript Class, how to call the prototype method.(three method)
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- how to call the procedure in c# program
- 【完美】Your password has expired. To log in you must change it using a client that supports expired pas
- MySql-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server v
- 错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
- 【MyEcplise】导入项目后,会定时弹出一下错误MyEcplise tern was unable to complete your request in time.This couble happen if your project contains several large javaScript libraies.