Issue 2399 in v8: In debugger allow modifying local variable values

32 views
Skip to first unread message

codesite...@google.com

unread,
Nov 8, 2012, 11:21:31 AM11/8/12
to v8-...@googlegroups.com
Status: Accepted
Owner: peter.ry...@gmail.com
Labels: Type-FeatureRequest Priority-Medium

New issue 2399 by peter.ry...@gmail.com: In debugger allow modifying local
variable values
http://code.google.com/p/v8/issues/detail?id=2399

When debugger paused, local variables could be inspected, but not modified.
When possible, debugger should allow to modify their values.

codesite...@google.com

unread,
Nov 8, 2012, 11:22:31 AM11/8/12
to v8-...@googlegroups.com

Comment #1 on issue 2399 by peter.ry...@gmail.com: In debugger allow
modifying local variable values
http://code.google.com/p/v8/issues/detail?id=2399

Releated Chromium bug:
http://code.google.com/p/chromium/issues/detail?id=124206

codesite...@google.com

unread,
Nov 9, 2012, 12:38:34 PM11/9/12
to v8-...@googlegroups.com

Comment #2 on issue 2399 by 0.sin...@gmail.com: In debugger allow modifying
+1

This has been a hindrance for me while debugging. Would save me a lot of
time when testing with chrome. However, in the meantime I've been using
Firefox+Firebug to debug, and that works fine, but I still prefer chrome
for debugging in general.

codesite...@google.com

unread,
Nov 17, 2012, 12:28:36 PM11/17/12
to v8-...@googlegroups.com

Comment #3 on issue 2399 by peter.ry...@gmail.com: In debugger allow
modifying local variable values
http://code.google.com/p/v8/issues/detail?id=2399

Changing variables in non-object scopes, such as Local, Closure and Catch
requires an explicit API. Object-based scopes (With, Glolbal) can be
updated using evaluate expression technique (which is even more preferable,
if the object non-trivial properties).

codesite...@google.com

unread,
Nov 17, 2012, 2:45:12 PM11/17/12
to v8-...@googlegroups.com

Comment #4 on issue 2399 by 0.sin...@gmail.com: In debugger allow modifying
Sorry peter.ry, I may have misunderstood. All I know is that other
debuggers allow this. If it requires an explicit API then it's time to
design/implement such an API I think. For debugging this is an incredibly
valuable tool.

codesite...@google.com

unread,
Nov 17, 2012, 3:23:38 PM11/17/12
to v8-...@googlegroups.com

Comment #5 on issue 2399 by peter.ry...@gmail.com: In debugger allow
modifying local variable values
http://code.google.com/p/v8/issues/detail?id=2399

0.sinner, this is an implementation discussion/log; it doesn't really make
sense for you to supervise it :)

codesite...@google.com

unread,
Feb 23, 2013, 2:11:17 PM2/23/13
to v8-...@googlegroups.com

Comment #6 on issue 2399 by gabrielm...@hotmail.com: In debugger allow
modifying local variable values
http://code.google.com/p/v8/issues/detail?id=2399

Great to know that work is being done on this :)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 21, 2013, 10:18:22 AM3/21/13
to v8-...@googlegroups.com
Updates:
Status: Fixed

Comment #7 on issue 2399 by peter.ry...@gmail.com: In debugger allow
modifying local variable values
http://code.google.com/p/v8/issues/detail?id=2399

Fixed, added to Debug JS API and to debug protocol.
Reply all
Reply to author
Forward
0 new messages