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 - [69cat] Debugger doesn't stop on assert statement
Summary: [69cat] Debugger doesn't stop on assert statement
Status: VERIFIED INCOMPLETE
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 22:30 UTC by ulfzibis
Modified: 2010-05-20 07:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (48.47 KB, image/png)
2010-05-07 22:31 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
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