You will need a JTAG debugger, like the ST-LINK V2. and the JTAG shield.
If you have those, you might want to try what I did to debug with Netbeans:
You will need a JTAG debugger, like the ST-LINK V2. and the JTAG shield.
If you have those, you might want to try what I did to debug with Netbeans: