1. 07 Dec, 2010 3 commits
  2. 25 Oct, 2010 1 commit
  3. 31 Aug, 2010 1 commit
  4. 01 Dec, 2009 1 commit
  5. 08 Jun, 2009 1 commit
    • sgjesse@chromium.org's avatar
      Add more debugging information to scripts compiled through eval. · d498361c
      sgjesse@chromium.org authored
      Scripts now have a compilation type which can be host, eval or JSON. Host scripts are compiled through the API, eval scripts are compiled through call to evan and JSON scripts are compiled as a result of calling JSON.parse.
      
      For scripts scripts compiled through eval the JavaScript function in top of the stack and the pc offset into the code is stored in the script object. This makes it possible to calculate the source position of the eval call later when requested. This information can be obtained through the script mirror object and is part of the script mirror JSON serialization for the debugger protocol.
      
      Moved the enumeration ScripType into class Script and remamed to Type. The new compilation type enumeration is also inside the class Script.
      
      This information is now shown when using the scripts command in he developer shell debugger.
      Review URL: http://codereview.chromium.org/119108
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      d498361c
  6. 25 May, 2009 1 commit
  7. 06 May, 2009 1 commit
    • sgjesse@chromium.org's avatar
      Added context information to scripts. · b32d7d2e
      sgjesse@chromium.org authored
      Added a simple initial version of a context mirror object which just holds the user data from the context, and does not preserve handle identity.
      
      A script object now holds a reference to the custom data from the context it was compiled in. This data is included in the debugger protocol for scripts.
      
      Changed the serialization for the scripts command to use the mirror objects instaed of custom serialization. This included passing options from the debugger request to the serializer for including the full source of scripts in the response.
      Review URL: http://codereview.chromium.org/111001
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      b32d7d2e
  8. 21 Apr, 2009 1 commit
  9. 10 Mar, 2009 1 commit
    • sgjesse@chromium.org's avatar
      Whenever a script object is created it is assigned a unique id. Currently this... · 9d17b0d4
      sgjesse@chromium.org authored
      Whenever a script object is created it is assigned a unique id. Currently this id is assigned from an 32 bit integer counter.
      
      Changed the script break points to be able to handle both break points based on script names and script ids. When break points are set through a script id the position is relative to the script itself. This is different from the script break points set through script names where the line/coulmn offset is taken into account.
      
      This has the side effect that function break points are not converted into script break points for named scripts.
      
      Show the script id in the D8 shell debugger when listing all scripts using the 'scripts' command.
      Review URL: http://codereview.chromium.org/40317
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1468 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      9d17b0d4
  10. 04 Feb, 2009 1 commit
  11. 09 Sep, 2008 1 commit
  12. 27 Aug, 2008 1 commit
  13. 03 Jul, 2008 1 commit