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 185741

Summary: [69cat] Debugger doesn't stop on assert statement
Product: debugger Reporter: ulfzibis <ulfzibis>
Component: CodeAssignee: issues@debugger <issues>
Status: VERIFIED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot

Description ulfzibis 2010-05-07 22:30:15 UTC
[ BUILD # : 201005050200 ]
[ JDK VERSION : 1.6.* ]

Try with configuration "Test_assert":
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-en
hanced/branches/j7_EUC_TW/?rev=1064
Debugger doesn't stop in line 45 using "Step Over" in line 44.
Comment 1 ulfzibis 2010-05-07 22:31:23 UTC
Created attachment 98663 [details]
Screen shot
Comment 2 Martin Entlicher 2010-05-16 11:20:35 UTC
It works for me when compiled with jdk1.7.0-b84 fastdebug.
Please provide your JDK version. The project is not buildable with JDK 6, therefore I suppose that only the NetBeans IDE is running on JDK 6.

It correctly stops on the assert statement that is inside the for loop for me. Also from the bytecode it's apparent that compiler put a line location 45.

If it still does not work, can you please run:
javap -c -l EUC_TWMapping3 > EUC_TWMapping3.class_bytecode
and attach the file EUC_TWMapping3.class_bytecode here?
Comment 3 Marian Mirilovic 2010-05-20 07:58:35 UTC
agreed with Martin - verified