Apaseo 3 Posted August 15, 2013 Share Posted August 15, 2013 Hello, I am using mspgcc to develop code and mspdebug to load to mcu. Now, I am trying to debug some code, and it seems to me that it is very hard to step through lines of code and set breakpoints on C code with mspdebug and console. I was wondering if there is a way to debug the mcu with some kind of debugging software with a UI such as the Hi-wave debugger. I would love to be able to develop my code using gVim and if possible also debug it with gVim. Thanks Quote Link to post Share on other sites
spirilis 1,265 Posted August 15, 2013 Share Posted August 15, 2013 Not sure about IDEs but the mspgcc+mspdebug stack includes msp430-gdb; you run a gdbserver from inside mspdebug and start msp430-gdb, have it connect to that gdbserver. Then it can integrate into IDEs that support GDB. Might search around to see if anyone's got this working reliably with any IDEs... (I personally use mspdebug and step through code that way, rarely need to though so it's not a huge problem for me.) Apaseo 1 Quote Link to post Share on other sites
username 198 Posted August 16, 2013 Share Posted August 16, 2013 Try stepping through assembly versus stepping though C. Depending on optimizations, that can make quite a difference. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.