This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 115160 - Evaluation happens inside of debuggee
Summary: Evaluation happens inside of debuggee
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-10 14:23 UTC by cordawyn
Modified: 2011-01-28 20:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cordawyn 2007-09-10 14:23:26 UTC
When viewing the results of destructive operations for Array, using the hovering tooltips, the array is modified
irreversibly. Consider the following code:

  a = [1, 2, 3]
  puts a.shift

Hovering the mouse over "a" and "shift" in the second line "destroys" the array: see the tooltip for "a", then for
"shift", then for "a" again, and so on, until the size of "a" is 0.
Comment 1 Martin Krauskopf 2007-09-10 16:44:30 UTC
This is relative to, might the same as, issue 101120 (which is even worse). This will have to be fixed rather in the
backend in the debug-commons rubyforge project. Very likely not in 6.0 time frame. I think that even mature Java
debugger do this. But in Ruby it could be easier to prevent this. Hopefully will have time for this after 6.0. Thanks
for the report.