Summary: | [compiler] Breakpoints set on break statements are never hit | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Paul Cowan <cowan> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.3 | ||
Target Milestone: | 3.3 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Paul Cowan
2007-03-15 20:49:38 EDT
The problem for us is that the break doesn't end up generating any bytecode since it would be a goto to the next bytecode. So we optimize it out and therefore there is no position to reach. Philippe, I don't see how we can get a line entry for the break statement if we optimize it out. I don't think we would de-optimize the compiler to address this scenario. No action planned. Closing as Won't fix. |