Changes between Version 21 and Version 22 of JavascriptDebugging


Ignore:
Timestamp:
Mar 3, 2013, 7:15:19 PM (11 years ago)
Author:
Yves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JavascriptDebugging

    v21 v22  
    9191You can double-click on one function name to display the variables of that scope.
    9292
    93 === Variables ===
     93=== Variables (6) ===
    9494There are three main types of values that can be displayed.
    9595
     
    108108Sub 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).
    109109
     110=== Breakpoints from code ===
     111You can use this code to trigger breakpoints from JS code:
    110112
     113{{{
     114throw "Breakpoint";
     115}}}
     116
     117The debugger will clear the exception and stop the execution as if you used "break" or set a breakpoint in the debugger's web GUI.
     118However, 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!
     119Maybe we will add this to some kind of "assert" function which will not affect release builds.
     120
     121
     122