<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mattbaker&#64;apple.com" title="Matt Baker &lt;mattbaker&#64;apple.com&gt;"> <span class="fn">Matt Baker</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Web Inspector: Log XMLHttpRequests"
   href="https://bugs.webkit.org/show_bug.cgi?id=159546">bug 159546</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>mattbaker&#64;apple.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Web Inspector: Log XMLHttpRequests"
   href="https://bugs.webkit.org/show_bug.cgi?id=159546#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Web Inspector: Log XMLHttpRequests"
   href="https://bugs.webkit.org/show_bug.cgi?id=159546">bug 159546</a>
              from <span class="vcard"><a class="email" href="mailto:mattbaker&#64;apple.com" title="Matt Baker &lt;mattbaker&#64;apple.com&gt;"> <span class="fn">Matt Baker</span></a>
</span></b>
        <pre>(In reply to Brian Burg from <a href="show_bug.cgi?id=159546#c5">comment #5</a>)
<span class="quote">&gt; (In reply to Joseph Pecoraro from <a href="show_bug.cgi?id=159546#c3">comment #3</a>)
&gt; &gt; This is a common thing in other tools:
&gt; &gt; 
&gt; &gt;   • Chrome
&gt; &gt;     - Right click in the Console to see Context Menu
&gt; &gt; 
&gt; &gt;   • Firefox
&gt; &gt;     - Console &gt; Filter output &gt; XHR
&gt; &gt; 
&gt; &gt;   • Firebug
&gt; &gt;     - &quot;Firebug shows you each XMLHttpRequest, in ... and the Console tab&quot;
&gt; &gt;     - <a href="http://getfirebug.com/network">http://getfirebug.com/network</a>
&gt; &gt; 
&gt; &gt; I agree that this isn't the best way to debug network traffic but its
&gt; &gt; something that developers are used to and may speed up debugging of some
&gt; &gt; situations (turn on, perform action, turn off, debug the XHRs in that short
&gt; &gt; time period). If it can easily be turned on / off it would be good for those
&gt; &gt; developers that would rather have this then use the Network tab.
&gt; &gt; 
&gt; &gt; I think Nikita had a prototype in the past using just a Safari extension.
&gt; &gt; 
&gt; &gt; That said, if we did this I think we'd want to improve our Console filtering
&gt; &gt; in general otherwise it would get out of Control. Firefox has done a really
&gt; &gt; great job here, and I like what they've done with their filtering.
&gt; 
&gt; Okay, wouldn't it fit in better with our feature set to make XHR breakpoints
&gt; do the logging via actions? Is it possible for us to evaluate arbitrary JS
&gt; (conditions, log expressions, etc) when paused at non-script breakpoints? At
&gt; the least, we could add a &quot;log to console&quot; action.</span >

Currently no breakpoint options/actions are available to XHR breakpoints, but we're already looking at adding some:

Web Inspector: Add regular expression support to XHR breakpoints        
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Add regular expression support to XHR breakpoints"
   href="show_bug.cgi?id=170099">https://bugs.webkit.org/show_bug.cgi?id=170099</a>

The script location where the debugger will pause for an XHR breakpoint isn't known ahead of time (the same is true of DOM breakpoints) but this doesn't preclude us from adding Evaluate Script and Log Message actions for both breakpoint types.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>