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.
Created attachment 125395 [details] Breadcrumbs else if bug Code Breadcrumbs are not working correctly for else if statements. I guess the algorithm just adds every getCondition() for every IfTree object. Most likely related to http://netbeans.org/bugzilla/show_bug.cgi?id=219532 See attachment. JDK 6u34 32bit, NetBeans Dev 201210040002
Probably a specialcase will be needed for if-elseif-elseif-else. Formally else is a subnode of the if-statement; if in the else-if as well, although logically they're at the same level as the parent if. try-catch-catch-finally may suffer from a similar problem. Turning into an enhancement.
*** Bug 219532 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss