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.
See following code snippet: Charset cs; 1 if ((cs = standardProvider.charsetForName(charsetName)) != null || 2 (cs = lookupExtendedCharset(charsetName)) != null || 3 (cs = lookupViaProviders(charsetName)) != null) - I have breakpoint on line 1. - After "Step In", marker is on 'lookupViaProviders()' in line 3 (Maybe there are good reasons having default on 3rd expression, but which? If 1st expression results true, 3rd expression will be never reached) - After 2nd "Step In", program enters 'charsetForName()' from 1st line, and stops not until in 3rd line of method 'charsetForName()'s code, but it should stop in 1st line.
Created attachment 75462 [details] "Step In" default on 3rd expression
Dane, can you please look at what can be done about selection of conditional expressions?
This is a similar problem as that one described in issue 155097 - selection of methods is not handled correctly when Step Into is performed for a ternary operator. Both issues should be solved together. I will mark this as a duplicate of 155097. *** This issue has been marked as a duplicate of 155097 ***
verified duplicate