LGTM with comments.
https://chromiumcodereview.appspot.com/15960016/diff/8001/src/mirror-debugger.js
File src/mirror-debugger.js (right):
https://chromiumcodereview.appspot.com/15960016/diff/8001/src/mirror-debugger.js#newcode1686
src/mirror-debugger.js:1686:
serializeLocationFields(script.locationFromPosition(funcOffset +
stepInRaw[i], true), posStruct);
80 char limit.
https://chromiumcodereview.appspot.com/15960016/diff/8001/src/runtime.cc
File src/runtime.cc (right):
https://chromiumcodereview.appspot.com/15960016/diff/8001/src/runtime.cc#newcode11613
src/runtime.cc:11613: }
Am I understanding this correctly that you are looking for the break
location at current PC, and collecting all break locations after that in
the current function? Maybe add a comment to explain that. It's not too
hard to understand, but the debugger code is complicated enough and
every hint to save time understanding it is valuable.
I'm not entirely sure why you want to do that though, I mean, why do you
ignore the break locations before the current PC?
https://chromiumcodereview.appspot.com/15960016/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.