Giter Site home page Giter Site logo

Serial output not working about remotedebug HOT 8 CLOSED

jeroenst avatar jeroenst commented on August 17, 2024
Serial output not working

from remotedebug.

Comments (8)

jeroenst avatar jeroenst commented on August 17, 2024

Bug is caused by _PasswordOk on line 445

from remotedebug.

JoaoLopesF avatar JoaoLopesF commented on August 17, 2024

Hi @jeroenst

Yes, It is correct.
I made a version 1.5.3, only use password logic if this is enabled

Please update and verify

from remotedebug.

jeroenst avatar jeroenst commented on August 17, 2024

I see your fix. But I think it would be better that serial debugging always works if enabled, also when a password is used on the telnet interface (which is great actually and I will use from now on!)

from remotedebug.

jeroenst avatar jeroenst commented on August 17, 2024

Tested your fix, it works when no password is defined. When a password is defined, the RemoteDebug lib has building errors.

from remotedebug.

JoaoLopesF avatar JoaoLopesF commented on August 17, 2024

@jeroenst , sorry by delay.
Please send the error

from remotedebug.

jeroenst avatar jeroenst commented on August 17, 2024

/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp: In member function 'boolean RemoteDebug::isActive(uint8_t)':
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:454:17: error: '_PasswordOk' was not declared in this scope
boolean ret = (_PasswordOk &&
^
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp: In member function 'void RemoteDebug::showHelp()':
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:744:15: error: '_PasswordAttempt' was not declared in this scope
help.concat(_PasswordAttempt);
^
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp: In member function 'void RemoteDebug::processCommand()':
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:1139:44: error: a function-definition is not allowed here before '{' token
void RemoteDebug::setFilter(String filter) {
^
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:1150:33: error: a function-definition is not allowed here before '{' token
void RemoteDebug::setNoFilter() {
^
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:1161:77: error: a function-definition is not allowed here before '{' token
String RemoteDebug::formatNumber(uint32_t value, uint8_t size, char insert) {
^
/home/jeroen/Arduino/libraries/RemoteDebug/RemoteDebug.cpp:1199:1: error: expected '}' at end of input
}
^
exit status 1
Error compiling for board Generic ESP8285 Module.

from remotedebug.

jeroenst avatar jeroenst commented on August 17, 2024

_passwordOk in .h is _PasswordOk in .cpp
_passwordAttempt in .h is _PasswordAttempt in .cpp
and there is a } missing on line 891 of RemoteDebug.cpp

from remotedebug.

jeroenst avatar jeroenst commented on August 17, 2024

Works with version 3.0.5

from remotedebug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.