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.
Summary: | Debug gets unsynchronized with code after fix | ||
---|---|---|---|
Product: | debugger | Reporter: | brviking <brviking> |
Component: | Java | Assignee: | issues@debugger <issues> |
Status: | CLOSED DUPLICATE | ||
Severity: | blocker | CC: | rickhoro |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 57457 |
Description
brviking
2005-04-29 15:33:31 UTC
This may happen when redefining (fixing) a method that has an active stack frame (and it is not the topmost frame). In this case there are both (new and old) versions of the method in the VM. We do not want to do complete "rollback" after fix & continue, this is in most cases inconvenient (IMHO). Instead, we only do rollback from the topmost frame if neccessary. So, after F & C it is possible that an old version of fixed method is being executed. I agree that this should be somehow emphasized. See comment above. This should be fixed together with the temporary editor (issue #35586). We plan to implement much lighter support for Temporary editor (issue #35586) than originally thought, therefore it will not be usable for solving this problem. The solution won't be easy, since multiple versions of the same file can be processed in the debuggee at the same time. Scheduling for the next release. This is in fact a duplicate of issue #57457. The stepping on wrong lines was probably a behavior of JDK 1.4. On JDK 1.5, 1.6 and 1.7 the "fixed" method is marked as <obsolete> and no line number information is provided. Therefore the stepping is completely blind, without the green line. *** This issue has been marked as a duplicate of 57457 *** Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier. |