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 218504 - It is unable to set multiple locations breakpoints on Mac OS X
Summary: It is unable to set multiple locations breakpoints on Mac OS X
Status: REOPENED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 07:28 UTC by henk89
Modified: 2017-04-10 11:38 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 henk89 2012-09-18 07:28:26 UTC
Steps to reproduce:
- Create a Quote sample
- Start debugging session (e.g. make a step into main)
- Create function breakpoint for "Customer::Customer"

Expected result: breakpoints for the function have been created (both in .h and in .cpp files)

Actual result: nothing happens
Comment 1 Maria Tishkova 2017-04-06 14:39:14 UTC
Is it still valid for MacOS?
Comment 2 soldatov 2017-04-10 11:38:05 UTC
Yes. I can reproduce this bug with CLang+GDB 7.11

=========================================================================================
Such breakpoint works nicely:
18-break-insert -f "main"
18^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100000eb4",func="main(int, char**)",file="welcome.cc",fullname="/Users/tester/NetBeansProjects/Welcome_2/welcome.cc",line="35",thread-groups=["i1"],times="0",original-location="main"}
(gdb) 
=========================================================================================

=========================================================================================
No any breakpoints in editor:
36-break-insert -f "Customer::Customer"
36^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="Customer::Customer"},{number="4.1",enabled="y",addr="0x00000001000012b3",func="Customer::Customer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int)",file="customer.cc",fullname="/Users/tester/NetBeansProjects/Quote_2/customer.cc",line="34",thread-groups=["i1"]},{number="4.2",enabled="y",addr="0x00000001000012e3",func="Customer::Customer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int)",file="customer.cc",fullname="/Users/tester/NetBeansProjects/Quote_2/customer.cc",line="35",thread-groups=["i1"]},{number="4.3",enabled="y",addr="0x0000000100006ec0",func="std::__1::list<Customer, std::__1::allocator<Customer> >::push_back(Customer const&)",file="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory",fullname="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory",line="2464",thread-groups=["i1"]},{number="4.4",enabled="y",addr="0x0000000100006eed",func="std::__1::list<Customer, std::__1::allocator<Customer> >::push_back(Customer const&)",file="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory",fullname="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory",line="2464",thread-groups=["i1"]},{number="4.5",enabled="y",addr="0x0000000100007140",func="Customer::Customer(Customer const&)",file="./customer.h",fullname="/Users/tester/NetBeansProjects/Quote_2/customer.h",line="38",thread-groups=["i1"]},{number="4.6",enabled="y",addr="0x0000000100007170",func="Customer::Customer(Customer const&)",file="./customer.h",fullname="/Users/tester/NetBeansProjects/Quote_2/customer.h",line="38",thread-groups=["i1"]}
(gdb) 
37-break-insert -f "main"
37^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="main"},{number="5.1",enabled="y",addr="0x0000000100003530",at="<operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, Module const&)+400>",thread-groups=["i1"]},{number="5.2",enabled="y",addr="0x000000010000368d",func="std::__1::endl<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)",file="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream",fullname="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream",line="1035",thread-groups=["i1"]}
(gdb) 
=========================================================================================