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.
Steps to reproduce: - create local Subproject application - set a BP in 'hello1' function in line 33 (return (char*)"Hello from hello1...\n";) - start debugging, it stops in line 33 - finish debugging - modify 'hello1' function in the following way: char *hello1() { char* text = (char*)"Hello from hello1...\n"; return text; } - check that the BP now is in line 34 (return text;) - start debugging Result: Debugger stops in line 33 and the BP moves to the line 33 as well.
reproduced in java too. The easiest way to reproduce: - open any file which was never opened - set line breakpoint in any place - insert some empty lines before it breakpoint line number is not updated. After you save the file it start working but still fails sometimes. breakpoints use LineCookie to track document changes and it fails sometimes.
may be related with the issue 175578
Yes, this seems to be the same problem as issue #175578 or at least it seems to be fixed by backing out http://hg.netbeans.org/main-golden/rev/04860c675e0c, see #175578. *** This issue has been marked as a duplicate of 175578 ***