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 210894 - Multiple locations breakpoints not supported
Summary: Multiple locations breakpoints not supported
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.2
Hardware: PC All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
: 218182 (view as bug list)
Depends on:
Blocks: 207388 217898 218182
  Show dependency tree
 
Reported: 2012-04-09 12:06 UTC by Egor Ushakov
Modified: 2012-10-17 10:46 UTC (History)
1 user (show)

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 Egor Ushakov 2012-04-09 12:06:09 UTC
steps to reproduce:
- create quote sample
- step into
- try to toggle line breakpoint at quote.cc:144
(cout << "Customer " << customerName << " has discount " << discount << '%' << endl;)
It will just silently fail.

In the log one can see that gdb reports multiple locations breakpoints at this place:
18-break-insert -f "/cygdrive/C/Quote_4/quote.cc:144"
18^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="/cygdrive/C/Quote_4/quote.cc:144"},{number="3.1",enabled="y",addr="0x004032b1",func="main",file="quote.cc",fullname="/cygdrive/c/Quote_4/quote.cc",line="144"},{number="3.2",enabled="y",addr="0x00403aca",func="global constructors keyed to (anonymous namespace)::customers",file="quote.cc",fullname="/cygdrive/c/Quote_4/quote.cc",line="144"}
Comment 1 henk89 2012-08-27 14:14:11 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/f051d78ae3ac
Comment 2 Quality Engineering 2012-08-29 02:41:45 UTC
Integrated into 'main-golden', will be available in build *201208290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f051d78ae3ac
User: Nikolay Koldunov <henk89@netbeans.org>
Log: fixed #210894 - Multiple locations breakpoints not supported
Comment 3 henk89 2012-09-05 14:26:30 UTC
Decided to support the rule:

  result: variable = value
  value: tuple (, tuple)*
Comment 4 henk89 2012-09-13 14:22:19 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/8599d26b63f8
Comment 5 Quality Engineering 2012-09-14 02:11:11 UTC
Integrated into 'main-golden', will be available in build *201209140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8599d26b63f8
User: Nikolay Koldunov <henk89@netbeans.org>
Log: fixed #210894 - Multiple locations breakpoints not supported
Comment 6 henk89 2012-09-14 08:18:16 UTC
*** Bug 218182 has been marked as a duplicate of this bug. ***
Comment 7 henk89 2012-10-17 10:46:59 UTC
As it is an inaccuracy in the GDB output, a GDB bug (#14733) has been reported:
http://sourceware.org/bugzilla/show_bug.cgi?id=14733