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 240762 - Bread crumbs displays "default default" instead of "default"
Summary: Bread crumbs displays "default default" instead of "default"
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 12:31 UTC by soldatov
Modified: 2014-02-07 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-01-21 12:31:00 UTC
C++ code:

int main() {
    int v;
    for (int i = 0; i < 10; i++) {
        switch (i) {
            case 0:
                v = 0;
                break;
            default:
                v = 1; // check this line
                break;
        }
    }
}

Scenario:
- Move cursor on "v = 1" line
- Check bread crumbs
==>
Real result: >> main >> for (int i = 0; i < 10; i++) >>  switch (i) >> default default >> v = 1 >>
Expected res: >> main >> for (int i = 0; i < 10; i++) >>  switch (i) >> default >> v = 1 >>
Comment 1 Alexander Simon 2014-02-06 13:48:45 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/fdf332340452
Comment 2 Quality Engineering 2014-02-07 02:40:45 UTC
Integrated into 'main-silver', will be available in build *201402070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fdf332340452
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240762 Bread crumbs displays "default default" instead of "default"