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: | [71cat] breakpoint moves | ||
---|---|---|---|
Product: | debugger | Reporter: | muellermi <muellermi> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
muellermi
2011-09-29 08:29:48 UTC
Changing a category to debugger -> Martin, do you have any more concrete issue similar to this one? Today, I could reproduce this problem: I have a very samll class for testing purrpose: [imports] @ApplicationScoped public class ParamManager { private FacesContext _context; @PostConstruct private void init() { _context = FacesContext.getCurrentInstance(); //#### breakpoint here#### } public String getParam(String param) { return _context.getExternalContext().getInitParameter("upload.root");//#### breakpoint here#### } } start debugging - everything is ok next add @Named Annotation. This annotation requires an additional import. start debugging, at least one breakpoint moves delete or add some lines _before_ the class: same problem comclusion: breakpoint move happens when the linecount before the class is changed Thanks for the description. It looks like this was fixed by http://hg.netbeans.org/main-golden/rev/bab19f4f36e5 It behaves fine for me in recent dev builds. |