Teensyduino 1.60 Beta #3

Example added to the PR, along with brief instructions. TeensyDebug has extra install stuff compared to most libraries, but it’s covered in the ReadMe. FWIW I’m using Windows 10, but the problem seems to be with the generated binary so hopefully you can stick with Linux for your tests.
 
Example added to the PR

I just spent a couple unsuccessful hours fiddling with TeensyDebug. It's not working on my Linux machine. Admittedly I did just recently do a complete reinstall, switching from Ubuntu to Fedora, and some other stuff still isn't quite right.

Can you reproduce this problem without TeensyDebug?

I'm probably going to package up 1.60-beta4 soon, not because I want to neglect this issue, but because so much stuff has changed since 1.60-beta3 but never got a beta version because we were working on the Sparkfun transition. I really need to get back onto the software side and packaging up beta4 is the first step.
 
I just spent a couple unsuccessful hours fiddling with TeensyDebug. It's not working on my Linux machine. Admittedly I did just recently do a complete reinstall, switching from Ubuntu to Fedora, and some other stuff still isn't quite right.

Can you reproduce this problem without TeensyDebug?

I'm probably going to package up 1.60-beta4 soon, not because I want to neglect this issue, but because so much stuff has changed since 1.60-beta3 but never got a beta version because we were working on the Sparkfun transition. I really need to get back onto the software side and packaging up beta4 is the first step.
Thanks for trying. I’ve not seen this without TeensyDebug, but it may just be
the optimisation changes that makes which triggers the problem; after all, execution never reaches the debugger stub. I’ll break out my rarely-used Ubuntu machine and see if I can provoke the issue there.
 
New comment in the PR - it is indeed enough to set the optimisation level to "Debug" to provoke this issue. TeensyDebug seems borked on my Ubuntu laptop, and I don't understand enough to fix it - I've used it on both Windows 10 and 11, though, for those who don't mind dabbling on the Dark Side.
 
Back
Top