Debugging any C++ with Netbeans/gdb terminates immediately with a SIGSEGV?

My Os is : MacOS High Sierra 10.13.5

NetBeans Version : 8.2

Gdb Version: 8.0.1

I can use NetBeans build and run NetBeans Sample C++ Application successfully

but when I try to Use NetBeans to Debug NetBeans Sample C++ Application Quote with gdb, I always get an Error like below, and it always run into the osstream file, I am confused!

enter image description here

I set BreakPoint at main function like below enter image description here

I don't change any configuration, It is NetBeans Default Configuration for sample C++ project Quote.

Anyone Can help me, how can I fix this error?