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: | Debugger doesn't highlight current position | ||
---|---|---|---|
Product: | debugger | Reporter: | kpturvey <kpturvey> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | NEW --- | ||
Severity: | blocker | CC: | lkotouc |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
kpturvey
2006-02-20 02:50:34 UTC
Well, I'm not able to reproduce this. Can you please specify how do you have the project configured? Or attach the affected project (or some sample project with the same structure) so that we can explore the problem. If I create a simple Java file under src/xcs and remove the package statement, I'm not able even run the file. And when I add the "src/xcs" to the "Sources" in the properties of the project, both Run and Debug work fine... O.K. I've reproduced it. Thanks for the project. The problem is that the project is set up incorrectly. The XCS.java file is in "xcs" folder relative to source root, but it has a default (empty) package. When you invoke the project properties, add "src/xcs" folder in "Sources" and remove "src" from there, everything starts to work fine. Debugging works fine then. Therefore this is a setup issue. However, it looks like you're not the only one having a problem with this (see e.g. issue #70748). Therefore I think that debugger should warn users that there is some problem with the sources. Some warning dialog should be present and instruct the user what can be done to fix this. So I'm leaving this open to implement the warning mechanism... This is not a NB defect. On the other hand, from the usability point of view, this issue should be addressed -> Changing to RFE P3 -- should be considered for the next release, where sources management will be improved. |