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.
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
Is it still valid for MacOS?
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) =========================================================================================