Comments (10)
Some problem here. Downgrade to 2.1.2. Looks like the repo here will no longer be maintained :(
from remotedebug.
Hi eaglefred,
I have run into the same problems in the last couple of days.
I have used this library with success on the ESP32 in the past, by now I wanted to use it on the ESP8266, and got the same problems.
I am using platformIO and am using the arduino framework, before I started my project (last weekend), I updated all the platform libraries.
What I have come across during the last couple of days is that there seems to have been a change in the arduino framework sometime ago, and the local websocket libraries that are included in the RemoteDebug library do not match anymore.
I have been able to solve it in the following manner:
- install the latest WebSocket library directly from the source: https://github.com/Links2004/arduinoWebSockets/tree/master/src
This is the same library as was originally included into RemoteDebug, but only the newest version. - Enable: #define USE_LIB_WEBSOCKET true
in the RemoteDebugCfg.h
Then clean and rebuild, it should then build again.
This worked for me to get it compling again, but have not tested the code yet. However I expect that it will work now.
Best Regards,
Robin
from remotedebug.
Last commit on this repo was 2019. Unfortunately it looks like this project has been abandoned :(
I was able to "fix" this issue by downgrading to v2.1.2 as mentioned. This allowed me to compile for a NodeMCU board just fine. Hopefully that will help someone else.
from remotedebug.
I've started work on a similar tool to RemoteDebug. It's still a work in progress, but if you're interested in testing something similar check out RIX.
from remotedebug.
I downgraded to version 2.1.2
Now it works again.
I'm happy using telnet as debug possibility. I do not need the web functionality.
(since I'm working with sonoff devices which are connected to 220V life power, the debug functionality over WiFi is an important security function for me) ;-)
from remotedebug.
Hi Robin,
Thank you very much for the trick, i have tried it but it doesn't work for me. I have an error when compiling:
exit status 1
'RemoteDebug' does not name a type
Without the #include "RemoteDebug" and all its refering code, my source code is compiling, so i have to look for another way to debug it.
Tank you for your message.
Take care.
Fred
from remotedebug.
Just to let you know, I'm running in exactly the same problem.
And since I'm not a programmer, just barely able to patch together some code, I can't fix this on my own.
from remotedebug.
I am a new user of this OTA debugging tool. I had same problem with V3.0.5. Downgraded to 2.1.2 and it works fine with Telnet on Windows. Thanks for suggestion.
from remotedebug.
If you want to use the new Arduino library, you have to exclude some files from compilation process. In order to do that in platformio you can use the extra_scripts
platformio feature and point to a script which will filter compiled files and effectively exclude those in the utility
folder. You can check the example in my repository here:
https://github.com/thanek/sharp-fu-y30-mqtt-esp/blob/master/platformio.ini
and the script:
https://github.com/thanek/sharp-fu-y30-mqtt-esp/blob/master/utils/filter_src.py
This, combined with the -DUSE_LIB_WEBSOCKET=1
build flag should do the job.
Hope that helps.
from remotedebug.
I confirm, downgrading to v2.1.2 fixed compiler errors (which had me up all night tracing down). If you ask me, a telnet serial debugger should just be a built in feature, blended right with the OTA updates. Just my 2-cents.
from remotedebug.
Related Issues (20)
- Feature Serial full stream control HOT 2
- Allow bracket pattern customization HOT 1
- Make the functionality of this library possible for Arduino MKR WiFi 1010 / Nano 33 IoT boards if possible
- How to disable debugs for production release
- http://joaolopesf.net/remotedebugapp HOT 1
- Debug during setup
- The connection will be lost when I use external interupts or use adc
- Debug through MQTT
- Websockets library error and Ethernet access HOT 2
- arduinoWebSockets is in the Arduino Library manager and platform IO :)
- Support samd / P1AM?
- [ESP32] "hwcrypto/sha.h" has been moved HOT 1
- RemoteDebug interferes with others shockets libraries
- Error en la salida por el puerto serie, incluye secuencia erronea
- Build fails ... "esp_is_8285"
- SHA resource no longer correct for ESP32 HOT 4
- error: 'ets_vsnprintf' was not declared in this scope, suggested alternative: 'ets_printf' but ESP32 chashes
- The opening bracket is missing when you switch off log level display
- Drop-in replacement for this library HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remotedebug.