Explore Print Statement positioning #7151
jasonLaster
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our print statement panel gives the impression that the console log is evaluated after the line it is added to
In reality, the print statement is added to the first breakable position on the line, but that is not clear from the UI.
Chrome handles this by showing the panel on top of the line which helps in the case of variable declarations such as
_reactDOM
below.It would be nice to explore how Replay signals to the user where the print statement will be evaluated. There are a couple of cases that would be good to cover
We have a couple of tools at our disposal to make this clearer
Some other goals that we should keep in mind
spun out of https://linear.app/replay/issue/BAC-1673/logpoint-variable-not-evaluating-correctly
Beta Was this translation helpful? Give feedback.
All reactions