Changes between Version 21 and Version 22 of JavascriptDebugging
- Timestamp:
- Mar 3, 2013, 7:15:19 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JavascriptDebugging
v21 v22 91 91 You can double-click on one function name to display the variables of that scope. 92 92 93 === Variables ===93 === Variables (6) === 94 94 There are three main types of values that can be displayed. 95 95 … … 108 108 Sub nodes will not be collapsed if you collapse their parent node (they will become invisible but they will be in expanded state if you expand the parent again). 109 109 110 === Breakpoints from code === 111 You can use this code to trigger breakpoints from JS code: 110 112 113 {{{ 114 throw "Breakpoint"; 115 }}} 116 117 The debugger will clear the exception and stop the execution as if you used "break" or set a breakpoint in the debugger's web GUI. 118 However, these code breakpoints will have to be removed again for final versions of code because the exception will not be cleared if the debugger is not enabled! 119 Maybe we will add this to some kind of "assert" function which will not affect release builds. 120 121 122