ok, progress I think.
Debug options now as per image.
Local.txt file added as instructions
Debugger now starts and I can get it to break in the main .ino loop.
However, i'm struggling to get a breakpoint else where in the code. Doing so seems to frequently result in debugging stopping with the message:
Frame not in module
Quote:
The current stack frame was not found in a loaded module. Source cannot be shown for this location.
You can view the disassembly in the Disassembly window...
Callstack has only one entry:
Quote:
> xthal_window_spill_nw() Line 234 C++
I can step into some of my files from the breakpoint in the .ino, but if I say try to "run to cursor" I get the frame error again.
I thought this might be the breakpoint limitation, but I tried disabling all breakpoints and doing a "step out" and got the same.
Additionally if I then try and start the debug process again then it eventually fails, the few lines in the output window read:
Quote:Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...
A fatal error occurred: Timed out waiting for packet content
The uploader returned an error
Power cycling the dev board seems to resolve this but this seems like a workaround rather than a solution.
I've looked for the logfile mentioned above, but the only one I could find is from 2 days ago. I moved this and rebuilt and still no log.