I have an application that seems to run OK when compiled in 'Debug', but that stops responding when compiled as 'Release'.
I was wondering if there's a way to attach to the Released code and at least find out where it is when it's in this state.
A little more background. It's using ctl. I've tried a bunch of rendevous in main(), with a forced WWDG reset if I don't see them, but of course main() is a task and if tasks are stopping, so likely will main(). An alternative is that everything 'thinks' it's running, but has lost contact with I/O, though I think that is unlikely. 'Attach'ing to the CPU shows processor cycles, suggesting that it's not halted.
I forgot to say. As a 'Release' application, it takes a couple of days before it stops. As a 'Debug' program I ran if for seven days an it was still OK.
Please sign in to leave a comment.