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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21125</bug_id>
          
          <creation_ts>2013-02-26 11:53:02 +0000</creation_ts>
          <short_desc>javascript needs built-in ability for stopping, pausing, set PC, resuming client code in progress</short_desc>
          <delta_ts>2014-06-21 12:55:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>JavaScript</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Michaels">jmichae3</reporter>
          <assigned_to name="Mathias Bynens">mathias</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+javascript</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83719</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Michaels">jmichae3</who>
    <bug_when>2013-02-26 11:53:02 +0000</bug_when>
    <thetext>javascript needs built-in ability for stopping, pausing, resuming client code in progress through built-in or add-on debugger. right now, add-on debuggers are unable to halt an initially running process unless it is running wild, then the brouwser offers to halt the script, but then the debugger doesn&apos;t kick in like you want it to because at that point, the debugger is unresponsive.

I don&apos;t know if this requires that the debugger be in a separate thread or not. possibly. if so, that could introduce parallel-programming &quot;synchronization issues&quot;. those who have done any multithreaded programming know what I am talking about. if you don&apos;t, get a book on multithreaded or parallel programming.

I don&apos;t know how easy and/or possible this is. just having a debugger; statement alone is not going to do all the debugging tasks for people who need a debugger.

we also need to be able especially to set the Program Counter (PC) to a specific line number in whichever file. a specific statement basically. we should be able to change a variable&apos;s value, and go back/forward 2 (whatever) lines and re-execute a function that somehow got messed up, until a person can figure out how to fix it right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108181</commentid>
    <comment_count>1</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2014-06-21 12:55:28 +0000</bug_when>
    <thetext>This is outside the scope of the JavaScript / Web ECMAScript spec. See &lt;http://javascript.spec.whatwg.org/#goals&gt;.

To propose new features for the ECMAScript language, please file a bug on https://bugs.ecmascript.org/.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>