Skip to content
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

Not working with Xeus Python kernel (Jupyter with debugger) #190

Open
matgad opened this issue Jan 28, 2021 · 2 comments
Open

Not working with Xeus Python kernel (Jupyter with debugger) #190

matgad opened this issue Jan 28, 2021 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@matgad
Copy link

matgad commented Jan 28, 2021

The extension does not work when I use a xeus python kernel, which is the current official way to use the Jupyter debugger (https://jupyterlab.readthedocs.io/en/stable/user/debugger.html). On the same server, the extension works correctly with any classic python kernels.
Is this expected? It would be great to have both the debugger and the variable inspector with the new xeus kernel.

@danieltomasz
Copy link

I can confirm this

@lckr
Copy link
Collaborator

lckr commented Feb 8, 2021

Currently the xeus kernel is not supported, since it only implements a subset of features of the regular IPython kernel. This extension relies on some of the IPython magics that are not yet supported by xeus.

This does not mean that it's not impossible to make this extension work with xeus, but one would need to write a new script that communicates between xeus-kernel and the variableInspector extension (e.g. as in src/inspectorscripts.ts).
Since I currently do not know how to retrieve active variables in xeus outside of the debugger mode, I'll leave this issue as a open todo.

But of course, if you come up with a solution I'm happy to add it to the extension.

@lckr lckr added bug Something isn't working help wanted Extra attention is needed labels Feb 8, 2021
@BlindB0 BlindB0 mentioned this issue Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants