<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>143902</bug_id>
          
          <creation_ts>2015-04-17 16:20:56 -0700</creation_ts>
          <short_desc>Stepping in the debugger doesn&apos;t always advance as one expects - step-over should complete the line</short_desc>
          <delta_ts>2026-01-12 09:08:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>bburg</cc>
    
    <cc>graouts</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1086472</commentid>
    <comment_count>0</comment_count>
      <attachid>251066</attachid>
    <who name="Dean Jackson">dino</who>
    <bug_when>2015-04-17 16:20:56 -0700</bug_when>
    <thetext>Created attachment 251066
Test case

For single line statements, calling step in the JS debugger doesn&apos;t always advance to the next line.

See the attached testcase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1086473</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-04-17 16:21:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/20595484&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1234532</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-09-28 13:42:13 -0700</bug_when>
    <thetext>I&apos;ll use this bug to track making &quot;step-over&quot; do line based stepping instead of ~statement stepping.

In general, stepping should be significantly improved soon so that you will know exactly what is executing each step. There has been discussion on how step-over should behave in such cases, and it seems &quot;skip all things on this line&quot; is what developers are familiar with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275733</commentid>
    <comment_count>3</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2017-02-10 20:22:42 -0800</bug_when>
    <thetext>Joe, is there any reason to keep this bug open any more?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275770</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-02-11 01:13:56 -0800</bug_when>
    <thetext>Yes. The idea of &quot;step-over&quot; being line-based is still valid. Currently we can pause on multiple statements within a line. Moving to line-based (by sending the backend a start offset and end offset of the line) would be an enhancement we could add.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>251066</attachid>
            <date>2015-04-17 16:20:56 -0700</date>
            <delta_ts>2015-04-17 16:20:56 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>stepping.html</filename>
            <type>text/html</type>
            <size>344</size>
            <attacher name="Dean Jackson">dino</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KCmZ1bmN0aW9uIHJ1bigpIHsKICAgIHZhciBmb28gPSAwOwogICAgY29uc29sZS5s
b2coIkknbSBnb2luZyB0byBlbnRlciB0aGUgZGVidWdnZXIgaWYgaXQgaXMgb3Blbi4iKTsKICAg
IGRlYnVnZ2VyOwogICAgaWYgKCFmb28pIGZvbyA9IERhdGUubm93KCk7IC8vIEhvdyBtYW55IHN0
ZXBzIHNob3VsZCBpdCB0YWtlIHRvIGdldCB0byB0aGUgbmV4dCBsaW5lPwogICAgY29uc29sZS5s
b2coIkkgcmVhY2hlZCB0aGUgbmV4dCBsaW5lLiIpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5l
cigibG9hZCIsIHJ1biwgZmFsc2UpOwo8L3NjcmlwdD4KPHA+T3BlbiB0aGUgaW5zcGVjdG9yPC9w
Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>