Reviewers: Mads Ager, Yury Semikhatsky,
Description:
Better handling of stepping out of a function
With the change in r4820 all return statements are now breakable like any
statement, so stepping will stop before the return statement actually
returning
from a function. With this change the position when breaking in the function
return (after executing the return statement) will be the actual end of the
function. At this point the return value is available as it saved to the
stack
by the debug break at return handling. Added information on the actual value
returned from the function to the debugger.
Please review this at http://codereview.chromium.org/2783002/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/arm/full-codegen-arm.cc
M src/debug.h
M src/debug.cc
M src/full-codegen.h
M src/full-codegen.cc
M src/ia32/full-codegen-ia32.cc
M src/mips/full-codegen-mips.cc
M src/mirror-debugger.js
M src/runtime.cc
M src/x64/full-codegen-x64.cc
A test/mjsunit/debug-return-value.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev