thiagoralves
Hello everyone! Happy Friday!!
 
I just wanted to announce an important update to the OpenPLC Editor and OpenPLC Runtime for Linux and Windows. Now OpenPLC Runtime supports live debugging the same way as the microcontroller (arduino) runtime.
 
Screen Shot 2024-07-11 at 11.19.40 PM.png
 
You must update your editor and your runtime to get this new feature. To update the runtime on Windows, just click on the "Rebase OpenPLC" entry on the start menu inside OpenPLC Runtime. On Linux (Raspberry Pi and others), you will have to clone and install the new runtime following the same installation instructions. Let me know if this new feature is working for you.
 
Happy coding!
Reply 7 0
thiagoralves
Do you mind sharing your project with me? I’ll try to reproduce it here when I have some time to investigate the issue
Reply 0 0
runaway1
i don't new a project.i used the example project "blink",like your first reply.
i used generate program for openplc runtime button to make a .st document and compile it in pi,then i can't debug unless i cancel the "blink_led" location in editor.
Reply 0 0
thiagoralves
I'll try that again, but as you can see from the picture in the first post, the blink variable has a location and it is debugging just fine.
Reply 0 0
Kang
Hi, sir
 
I am using the editor in 2024-10-16 version, and I can not remote debugging the runtime either, my runtime is running on linux debian11, while the editor is running on windows.
[203128%2F9313550%2Fmceclip0]
 
Pls find attached for my editor project.
 
Firstly, I compile the program into .st file, then upload the file to runtime by web browser. Then I used the editor to remote debugging the runtime, the error showed as below:
[203128%2F9313548%2Fmceclip0]
 
Any setting I should be aware of ? Or is there anything wrong with my project or method?
Reply 0 0
thiagoralves
Your editor is several months old. Update it and the debugger will work
Reply 0 0
Reply