Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Freddy Mallet added a comment - - edited

        Works well but could you please update the description of the rule as follows :

        <p>The debugger statement can be placed anywhere in procedures to suspend execution. Using the debugger statement is similar to setting a breakpoint in the code.
        
        By definition such statement must absolutely be removed from the source code to prevent any unexpected behavior in production.</p>
        
        <p>Here is an example of javascript code :</p>
        
        <pre>
        for(i = 1; i<5; i++) {
           // Print i to the Output window.
           Debug.write("loop index is " + i);
           // Wait for user to resume.
           debugger;
        }
        </pre>
        
        Show
        Freddy Mallet added a comment - - edited Works well but could you please update the description of the rule as follows : <p>The debugger statement can be placed anywhere in procedures to suspend execution. Using the debugger statement is similar to setting a breakpoint in the code. By definition such statement must absolutely be removed from the source code to prevent any unexpected behavior in production.</p> <p>Here is an example of javascript code :</p> <pre> for(i = 1; i<5; i++) { // Print i to the Output window. Debug.write("loop index is " + i); // Wait for user to resume. debugger; } </pre>
        Hide
        Evgeny Mandrikov added a comment -

        Done.

        Show
        Evgeny Mandrikov added a comment - Done.
        Hide
        Freddy Mallet added a comment -

        Manually tested !

        Show
        Freddy Mallet added a comment - Manually tested !

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: