-
-
Notifications
You must be signed in to change notification settings - Fork 435
Using ThreadDebug Lib: GDB Debugger Terminated Unexpectedly. #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From the command line - using what was compiled by the 0.1.0 IDE - it does run:
|
hi John I'm glad you downloaded this right away. As I was telling you a couple days back the debugger didn't get much love this time around, as we had to focus on releasing a more stable editor with broader compatibility, but it's definitely on our list for the next few weeks. Thank you :) |
Hello @ubidefeo , Yes, not much love appears to be no love at all actually; ;) - hope this can move forward but there's more ways to debug as we've discussed as well. That's cool we have access to nightly builds now - thanks for letting us know about that! And, thanks for looking at the debugger issues as well. You are more than welcome! Best Regards, |
I have a quick update: we have identified the breaking change. I built a CLI with a tiny modification locally, dropped it into the IDE and the debugger works. |
Hello @kittaakos , So, will this be in the nightly update or how can I give it a try? Thanks, |
Yes, once we fix the issue and very it, we will make it available in the nightly.
I will keep you posted. Thank you for logging the bug. |
Hello @kittaakos , Thanks for getting to this so quickly! And, sure, NP - been waiting for the ThreadLib stuff to get stable. Thanks Again, |
@jwestmoreland |
Please note, the nightly won't work until we have another CLI release. |
@jwestmoreland, we have a new IDE release with the debugger fix: https://github.com/arduino/arduino-pro-ide/releases/tag/0.1.1 |
Hello @kittaakos , OK - thanks for that - and loaded it - just wondering, has anyone debugged anything with it? I got this when I tried to debug:
From what I can tell, status (somewhat) unchanged from here. Thanks, |
Of course. On Windows and macOS, we verified the basic debugging features on a compiled sketch,
On both Windows and macOS, we used an Arduino Zero board, plus we tried it with CMSIS-DAP debugger on Windows.
I do not know if debugging works with the Portenta board. @ubidefeo, can you please help with this? |
Hello @kittaakos , Thanks for the response. Since this is the arduino-pro-ide 'forum' - thought Portenta as the target was/is implied. Thanks, |
@jwestmoreland i am not to sure about the support for Portenta board. |
Hello @pnaybour , TheadLib is in the Portenta library source files - so, why would that be the case? Thanks, |
@jwestmoreland You and other users will be able to see things moving at a faster pace, so please keep on submitting your issues and telling us what doesn't work so we can make a plan to fix it :) |
@jwestmoreland On Monday I'll check with @facchinm what's left to do to enable debugging via ThreadDebug on Portenta, we already chatted about it a few days ago but need to collect more info to make into a clear development/fix task. I'll notify you as soon as we have something. Thank you again for being (or trying to be) so active with Portenta and the new IDE, hope it doesn't cause too much frustration as you bring valuable feedback to this project :) |
Hello @ubidefeo , OK - yes, I think a commit history will be really helpful in this stage of things - thanks for that. Seems like ThreadDebug is really close to being functional and that will be extremely helpful. I also have a thread here: that's the original post I had regarding ThreadLib. Thanks for discussing with Martino, and sure, I think we all will benefit once this is solid - I really enjoy embedded systems. Best Regards, |
Hello Akos, Thanks for doing this. Much appreciated. Regards, |
To sum up:
Where did you get this info from? Can you please help, @jwestmoreland? Once I can run gdb from a terminal using the CLI, I can make it work with IDE2. Thank you! |
Can you let me know what's unclear now - I'm wondering what the actual question(s) is/are that you want me to answer? Thanks, |
hi @jwestmoreland The issue will remain open until we have this implemented and working :) |
Describe the bug
Attempting to debug with the ThreadLib debug library - get message GDB debugger terminated unexpectedly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Debug session should start.
Screenshots
If applicable, add screenshots to help explain your problem.
Message pops up and goes away.
Desktop (please complete the following information):
Windows 10 - 2020 latest released from M$
The text was updated successfully, but these errors were encountered: