| Summary: | Java debugger should not allow users to change final variables in the variables view. | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Natasha D'Silva <ndsilva> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Michael_Rennie, remy.suen, swanj |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Natasha D'Silva
(In reply to comment #0) > Should the debugger prevent these kinds of operations? I would have to say no. If the VM allows the variable modification, I think the onus is on the end-user to not re-value the variable(s). I will have to test it further to see if the variable modification actually changes the VM state or if it is just a locale change. One quick way you can test to see if the value actually changes in the VM is that the variable row will change colour after you save the change (the colour can be changed on the Run/Debug pref page: "Changed value background colour"). |