Reviewers: Sven,
Description:
Support for precise stepping in functions compiled before debugging was
started
(step 1)
This change will ensure that all non-optimized code will be compiled
with debug break slots when debugging is initiated. This is handled by
scanning the heap for non-optimized functions without debug break slots and
setting their code to be lazy recomplied. When the lazy recompilation
happens
the code will ge generated with debug break slots (if debugging is still
active
at that point in time).
[email protected]
Currently this is only implemented for functions which do not have
activations
on the stack.
BUG=
TEST=
Please review this at http://codereview.chromium.org/7839030/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/debug.h
M src/debug.cc
M src/full-codegen.cc
M src/objects-inl.h
M src/objects.h
M src/runtime.cc
A test/mjsunit/debug-step-2.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev