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.

Bug 188743

Summary: [69cat] Debug pointer at bad position
Product: debugger Reporter: ulfzibis <ulfzibis>
Component: CodeAssignee: issues@debugger <issues>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot

Description ulfzibis 2010-07-17 01:33:21 UTC
[ BUILD # : 6.9.1 ]
[ JDK VERSION : 1.6.20 ]

- run with configuration gen_sherman2_6:
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-en
hanced/branches/JDK-7/j_l_Character_names/src_sherman2/build/tools/generatechara
cter/CharacterNamesGenerator6.java?rev=1114&view=log
- open:
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-en
hanced/branches/JDK-7/j_l_Character_names/src_sherman2/java/lang/CharacterNames6
.java?rev=1114&view=log
- set breakpoint at 99
- run test with configuration gen_sherman2_6:
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-en
hanced/branches/JDK-7/j_l_Character_names/test/java/lang/CharacterNamesTest.java
?rev=1114&view=log
- step further

-> Debug pointer should stop at line 103 instead 105.
Comment 1 ulfzibis 2010-07-17 01:34:15 UTC
Created attachment 100896 [details]
Screen shot
Comment 2 Martin Entlicher 2010-07-19 14:08:38 UTC
Reproduced.
This is not a bug in NetBeans. LineNumberTable:
   ...
   line 101: 188
   line 105: 199
   ...
There's no line 103, therefore debugger will not stop there.
I've submitted bug 6970173 for javac.