-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
(jupyter) Console log in jupyter notebook prints only last message #24437
Comments
Yeah this is bound to be in that stdio sender. Working on reproducing now. |
@rgbkrk Is this something we should change in |
It looks like it's on the VS Code side. I'll dig in to find out why though as all clients should be treating the protocol the same. |
Just commenting to say I have the same issue. VSCode, Deno 1.44.1 - console.log prints only last line and (so?) errors don't print either. |
@DonJayamanne -- I haven't discovered yet why VS Code is treating messages differently than other jupyter frontends. Can you check this out? |
I have an extra hint that may be useful for the investigation: it's not only the last log that is shown, but only the last one from the same tick. The following code: console.log("1");
console.log("2");
window.setTimeout(() => {
console.log("3");
}); outputs
in VS Code. So console logs in different ticks are still visible. |
Root cause is here, #24737 |
Egg on my face, I'm going to go fix this now. |
Closed in #24762 |
Versions of Deno affected (non-exhaustive):
Working versions:
The regression occurred between v1.43.5 and 1.43.6: v1.43.5...v1.43.6
Expected behavior: console.log will print all messages from a cell
Actual behavior: console.log prints only last message from a cell
The changes to jupyter occurred in: 93d7b37 as part of refactoring the jupyter integration.
@rgbkrk Do you have a hunch about where this is happening since you authored the work in 93d7b37?
The text was updated successfully, but these errors were encountered: