Reviewers: sgjesse,

Description:
Support stepping in functions called using CallFunction stub. When
Debug::PrepareStep is called to prepare 'step in' and current code
target is CallFunction stub, the debugger will find function being
called on the expression stack and flood it with one shot breakpoints.

BreakLocationIterator changed to treat 'debugger;' statements as a
possible break location. Since 'debugger;' statement should always
invoke debugger it is hanled in a special way.

Related Chromium issue:
http://code.google.com/p/chromium/issues/detail?id=17978

Please review this at http://codereview.chromium.org/195015

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/debug.h
   M     src/debug.cc
   M     test/mjsunit/debug-step-stub-callfunction.js
   A     test/mjsunit/debug-stepin-call-function-stub.js
   M     test/mjsunit/mjsunit.status



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to