EmBitz
Debugging session closes when pressing continue too fast - Printable Version

+- EmBitz (https://www.embitz.org/forum)
+-- Forum: EBlink (https://www.embitz.org/forum/forum-3.html)
+--- Forum: Using EBlink (https://www.embitz.org/forum/forum-6.html)
+--- Thread: Debugging session closes when pressing continue too fast (/thread-172.html)



Debugging session closes when pressing continue too fast - Misc01 - 08-08-2023

I sometime encounter an effect when debugging in embitz: when I am stepping from breakpoint to breakpoint and press F5 too fast before the debugger hast stopped I get a message window "GDB debugger Error" with the message "Cannot execute this command while the selected thread is running.". After confirming this message, the debug session stops, ignoring that the error actually would not be fatal. Is there a way to allow to stay in the debug session?


RE: Debugging session closes when pressing continue too fast - embitz - 23-08-2023

Do you have a small project to investigate this bug?
Also add the debug session file if you save the sessions in a separate file instead of in the project file.


RE: Debugging session closes when pressing continue too fast - Aroyer - 21-09-2023

Probably same kind of error. When I pressed "Session Start/Stop" then "Continue" too fast. I get the same message.. Is it possible to buffered the command until the thread is ready..
I suspect a small project won't do it since it is fast to load in device.

If you have a STM32F746G-DISCO board on hand.. you can try my ongoing project.

https://github.com/aroyer-qc/GRBL_Digini_STM32Fx


RE: Debugging session closes when pressing continue too fast - embitz - 29-09-2023

I will solve this for the next release.
Thanks