-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak values by editing values of tweak nodes in Inspector #1666
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coooool!
Found a bug.
- Place a
text-lcd-16x2-i2c
- Bind “Hello” on
L1
- Place a
tweak-string-16
and link it toL2
- Set tweak value to “bro”
- Upload with debugger enabled
Expected behavior
- The display shows “Hello bro”
Actual behavior
- The display shows “Hello” (the second line is empty) until I change the tweak value to some other value. Starting from the change everything works fine
packages/xod-client/src/editor/containers/Patch/modes/debugging.jsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One issue with tweak-string-16
.
I connected it with watch
node and it always shows a message like "↘ +XOD:99:6:" on start debugging, even if I bound something into it. And pressing enter with the same value does nothing. Watch node contains watch
label.
But when I change tweak-string-16
value to something new — it works as expected.
Probably it's a bug in C++ implementation...
P.S.
I thought that I can Simulate it too 😢
|
||
export default ({ getState }) => next => action => { | ||
const state = getState(); | ||
const result = next(action); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it does not make sense in this case, but next(action)
can change the state
, so I prefer to get state after calling next(action)
:)
…es to serial from Inspector during debug session
e1c9b37
to
d462261
Compare
check again, please |
691c7d0
to
c2e644c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
c2e644c
to
79fbb97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Works for all available tweak nodes except
tweak-pulse
Closes #1624
Closes #1626
Closes #32