Delete all breakpoints Menu > Window > Debugging > Breakpoints Then right-click in the Breakpoints window and select Disable All or "Delete All".
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" […]
Get the project files from the RPi? To find out where NetBeans copies the files to on the RPi look in the 'Output' window for "Entering directory", e.g.: make: Entering directory '/root/.netbeans/remote/192.168.1.183/dell-m4600-win7-Windows-x86_64/C/_PROJECTS/SomeFolderName/Apps/MyApp/MyAppName' Note that if you look for this location using the GUI file manager you will need to select the menu option View > Show hidden […]
Adding A Library To A NetBeans Project For example the bcm2835 library for the IO pins. Include the library header file #include <bcm2835.h> When you compile you the compiler also needs to include the library so the libraries object file is added to the final compilation. Right click the project > Properties > Build > Linker > In […]
Enabling Running Remote Projects in NetBeans As Root User By default the root account is disabled in Raspbian, but for an application to access the IO pins it needs root user privileges. There are ways to configure the IO to get round this but its not all that easy and for development its often just easier to […]
THIS IS OUR PREFERRED WINDOWS DEVELOPMENT IDE FOR THE RASPBERRY PI The reason – you program on your nice fast Windows PC but under the bonnet it copies the files and uses the RPi to actually compile the project which, whilst a bit slower than using a high spec PC, solves all the issues of platform […]