|
From: Paul F. <fer...@gm...> - 2016-05-31 07:56:13
|
On Tue, May 31, 2016 at 07:03:41PM +1200, Kevin & Pauline Gordon wrote: > Debugging reaches the first line of main.cpp > > Step over jumps off into another function: step over carries on through that > functions statements but does not return to main.cpp If you compile with -O0 the debugging session will likely be more predictable. That said, I personally prefer debugging with full optimisations turned on as it uncovers more issues with the code, and when I'm in doubt I'm looking at the assembly listing anyway. You can also try to pinpoint the address where it starts to go "wrong" and single-instruction-step around it to understand what's happening. > It is a multi-threaded program: do I need any special settings? There's some support for certain RTOSes, please see the manual. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |