Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans debugger not working (GDB has unexpectedly stopped with return 1)

Everytime I try to debug my project with netbeans it doesn't let me do so. It gives the following error:-

"GDB has unexpectedly stopped with return 1"

And when I choose 'ok' it just stops everything. My project runs without any errors when I try to do so in netbeans. I want to step into my code and not being able to do so. Can somebody help me out with this? Thanks.

like image 972
user2593271 Avatar asked Aug 21 '13 00:08

user2593271


1 Answers

I had the same problem. I cleared my old debug breakpoints and this clear up the issues. I think the old breakpoints were pointing to dead code.

like image 179
Richard Avatar answered Sep 26 '22 00:09

Richard