1. 18 Mar, 2011 3 commits
  2. 06 Jan, 2011 1 commit
    • sgjesse@chromium.org's avatar
      Misc debugger enhancements and bug fixes. · 2957881a
      sgjesse@chromium.org authored
      1. Added gdb style debugger commands (and their shortcuts) for d8.
      These include:
      - s[tep] : step into the current statement.
      - s[tep]i[n]: step into the current statement with the minimum step.
      - n[ext] : step to the next statement.
      - fin[ish] : step out of the current function.
      - cond : setting conditions on breakpoints.
      - d[elete] : deletes breakpoints.
      - en[able]|dis[able]: enables/disables breakpoints including
      exception breakpoints.
      - ignore : ignores a breakpoint for a specified period.
      - inf[o] ar[gs] : info on arguments of the current function.
      - inf[o] lo[cals] : info on local vars of the current function.
      - inf[o] br[eakpoints] : info on breakpoints.
      - l[ist] : similar to source, but allows the user to continually
      dump subsequent lines of source code either in the
      forward or backward direction.
      - quit / exit / disconnect : terminates the remote debugger
      session.
      
      NOTE: Active breakpoints will automatically be disabled when
      the remote debugger detaches. This allows v8 to continue to
      run without worrying about a loss of a debugger session.
      
      2. Added support for breaking the debugger by simply typing ENTER.
      The break command is now optional.
      
      3. Once the debugger is broken, the user can now just type ENTER
      to repeat the last command. This is useful to functionality that
      needs to be invoked repeatedly e.g. step, list.
      
      4. Added more verbose descriptions in d8's help.
      
      5. Fixed a line and column number offset bug in the listing of breakpoint
      line and column numbers.
      
      6. Added a gc command to allow GCs to be requested from the debugger
      interface. The plumbing for requesting different types of GCs is
      there, but the underlying implementation currently only triggers a
      full mark-compact GC. The command also returns the before and after
      sizes of the heap.
      
      7. Added trace json, and flags commands that are not published in help.
      trace json is used for tracing the debugger packets send from and
      received by d8. flags is for setting v8 flags. These are useful for
      people debugging v8 itself, but not necessarily users of v8.
      
      8. Added the ability to enable and disable break on all / uncaught
      exceptions in to d8.
      
      9. Added a fix to prevent the Debugger Agent from being re-instantiated
      if one already exists.
      
      10. Added the ability to filter results of the script command by matching
      text or numbers on the results.
      
      11. Added v8 flags to enable/disable the sending of debugger BeforeCompile,
      AfterCompile, and ScriptCollected events.
      
      12. Fixed some undefined value bugs that resulted in v8 or the debugger
      failing.
      
      13. Added a few minor WEBOS__ customizations (analogous to ANDROID
      customizations).
      
      Patch by Mark Lam from Hewlett-Packard Development Company, LP
      
      Review URL: http://codereview.chromium.org/5980006
      Review URL: http://codereview.chromium.org/6086010
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6200 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      2957881a
  3. 05 Jan, 2011 2 commits
    • sgjesse@chromium.org's avatar
      Revert r6180 as it caused test failures · 3c2c1d21
      sgjesse@chromium.org authored
      TBR=ricow@chromium.org
      Review URL: http://codereview.chromium.org/6080009
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      3c2c1d21
    • sgjesse@chromium.org's avatar
      Misc debugger enhancements and bug fixes. · 8669f630
      sgjesse@chromium.org authored
      1. Added gdb style debugger commands (and their shortcuts) for d8.
      These include:
      - s[tep] : step into the current statement.
      - s[tep]i[n]: step into the current statement with the minimum step.
      - n[ext] : step to the next statement.
      - fin[ish] : step out of the current function.
      - cond : setting conditions on breakpoints.
      - d[elete] : deletes breakpoints.
      - en[able]|dis[able]: enables/disables breakpoints including
      exception breakpoints.
      - ignore : ignores a breakpoint for a specified period.
      - inf[o] ar[gs] : info on arguments of the current function.
      - inf[o] lo[cals] : info on local vars of the current function.
      - inf[o] br[eakpoints] : info on breakpoints.
      - l[ist] : similar to source, but allows the user to continually
      dump subsequent lines of source code either in the
      forward or backward direction.
      - quit / exit / disconnect : terminates the remote debugger
      session.
      
      NOTE: Active breakpoints will automatically be disabled when
      the remote debugger detaches. This allows v8 to continue to
      run without worrying about a loss of a debugger session.
      
      2. Added support for breaking the debugger by simply typing ENTER.
      The break command is now optional.
      
      3. Once the debugger is broken, the user can now just type ENTER
      to repeat the last command. This is useful to functionality that
      needs to be invoked repeatedly e.g. step, list.
      
      4. Added more verbose descriptions in d8's help.
      
      5. Fixed a line and column number offset bug in the listing of breakpoint
      line and column numbers.
      
      6. Added a gc command to allow GCs to be requested from the debugger
      interface. The plumbing for requesting different types of GCs is
      there, but the underlying implementation currently only triggers a
      full mark-compact GC. The command also returns the before and after
      sizes of the heap.
      
      7. Added trace json, and flags commands that are not published in help.
      trace json is used for tracing the debugger packets send from and
      received by d8. flags is for setting v8 flags. These are useful for
      people debugging v8 itself, but not necessarily users of v8.
      
      8. Added the ability to enable and disable break on all / uncaught
      exceptions in to d8.
      
      9. Added a fix to prevent the Debugger Agent from being re-instantiated
      if one already exists.
      
      10. Added the ability to filter results of the script command by matching
      text or numbers on the results.
      
      11. Added v8 flags to enable/disable the sending of debugger BeforeCompile,
      AfterCompile, and ScriptCollected events.
      
      12. Fixed some undefined value bugs that resulted in v8 or the debugger
      failing.
      
      13. Added a few minor WEBOS__ customizations (analogous to ANDROID
      customizations).
      
      Patch by Mark Lam from Hewlett-Packard Development Company, LP
      
      Review URL: http://codereview.chromium.org/5980006
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      8669f630
  4. 05 May, 2010 1 commit
  5. 15 Jan, 2010 1 commit
  6. 11 Nov, 2009 1 commit
  7. 25 Sep, 2009 1 commit
  8. 30 Jul, 2009 1 commit
  9. 25 May, 2009 1 commit
  10. 29 Apr, 2009 4 commits
  11. 24 Apr, 2009 1 commit
    • sgjesse@chromium.org's avatar
      Removed the debug message thread. · 8fefc769
      sgjesse@chromium.org authored
      The debug message thread was introduced to make it possible to have the message handler callback be called from a different thread than the thread running V8 where the debug event occoured, but it never had any practical use, and prevents providing information to the message handler which is only available from the V8 thread.
      
      In the future any thread decoupling will have do be done by the embedder.
      
      This also removes the queue used for outbound messages.
      
      Renamed the class Message to CommandMessage as it is only used for debugger commands from the client. Related message queue classes has also been renamed.
      Review URL: http://codereview.chromium.org/93118
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      8fefc769
  12. 21 Apr, 2009 1 commit
  13. 20 Apr, 2009 1 commit
  14. 24 Mar, 2009 1 commit
  15. 23 Mar, 2009 1 commit
  16. 20 Mar, 2009 1 commit
  17. 19 Mar, 2009 1 commit
  18. 03 Mar, 2009 1 commit