Hey @zach and @zachary ! A bunch of us would love to get better tools for debugging these Spark Core apps and problems. I spent all weekend trying to get GDB stuff setup with the Spark Core via command prompt on windows and then also via Netbeans. The problem is, I can't reliably get anything useful out of it yet in either case. Please see my rough draft tutorial for command line GDB here and let me know if you see anything I'm doing wrong:
-
When you get to the point where you type
continue
, what exactly happens on your system? -
Can you describe the steps necessary to set a breakpoint via command line GDB and what the output looks like?
-
Do you know of anyone who has setup an IDE like Netbeans with working GDB support for the Spark Core yet?
Could part of the problem be this $20 STLINKv2 J-Tag as well? I've been reading that a lot of people use the Segger J-Link but holy crap it's $1250! http://www.segger.com/jlink-debug-probes.html That's a little bit out of my price range for debugging tools at the moment.
Open source is nice and inexpensive so far, but getting the proper tools to work reliably (on multiple machines) has been less than optimal. We're almost there though! Just one more little bump in the road and I think we'll have a fantastic end-to-end development toolchain.