AFreakingBear
When I try to debug and use OpenPLC Serial monitor, my app crashes and I get the following error log:[203128%2F9415353%2Fmceclip0]
Reply 0 0
thiagoralves
You cannot debug over serial and use serial monitor at the same time. Only one program at a time can utilize the serial port.
Reply 1 0
AFreakingBear
You cannot debug over serial and use serial monitor at the same time. Only one program at a time can utilize the serial port.
What I mean with debug is, when I click "live debug remote PLC" I feel OpenPLC crashing and stoping to work and then if I let the laptop a little bit it gives me the error I presented.
Reply 0 0
thiagoralves
Can you provide more information on the project you're running and the board you're trying to debug? There is a chance that this could be caused by Windows Defender or another antivirus software. Try disabling your antivirus temporarily to check if it fixes the problem.
Reply 0 0
AFreakingBear
Hey Thiago, I am running Windows 11, trying to debug a M5StamPLC module with a ESP32S3.
Reply 0 0
thiagoralves
This is not an officially supported module yet. Perhaps the module is crashing when you try to debug it which then crashes the editor. Make sure the code you uploaded is truly running on the module, for example, make an LED blink every second. If the LED stops blinking, you know the module has crashed. Another thing you can try as well is debug over WiFi instead of serial. WiFi usually works better on ESP32 based boards. Finally, try debugging another platform that is officially supported, like an Arduino Uno for example. If it works, then you know that the problem is with the M5StamPLC, not the editor
Reply 0 0
Write a reply...
Reply