Can't connect via Netbeans
See the Troubleshooting Remote Host Connections tips here.
Debugging execution allways stops but there's no breakpoint there?
Try clearing all breakpoints (there may be old ones pointing to dead code)
Menu > Window > Debugging > Breakpoints. Right-click in the Breakpoints window and select Disable All.
"GDB has unexpectedly stopped with return 1"
Try clearing all breakpoints (there may be old ones pointing to dead code) – this solves this error for some people.
Try updating the system (sudo apt-get update, sudo apt-get upgrade).
Might just be a nasty code bug…!