Altera_Forum
Honored Contributor
18 years agoSW breakpoints
I'm trying to debug a problem mentioned in another thread, nios behaving erratically (http://http://forum.niosforum.com/forum/index.php?showtopic=6632)
I create breakpoints by double clicking in the margin and the "bubble" appears. When I start a Debug As Hardware session, the first and only breakpoint that is recognized is main(). I click Resume and the code executes w/o stopping. As a sanity check I put a BP on a printf statement and it is clearly executing w/o stopping. I can single step the code after that first break with no apparent problems. With enough single steps, I can even see the printf statement print one character at a time. However, as soon as I click on Resume, the code blows past any breakpoints I have set. There is no OS, the application is running single-threaded. The breakpoints appear in the breakpoint window. Not sure if this is related but I've already dealt with having to map the cygdrive to c:/ to get the debugger to even launch. thanks, s