Skip to content

OSX: JupyterLab debugger doesn’t work with xeus-python #679

@arjxn-py

Description

@arjxn-py

Summary
When using xeus-python as the kernel, the JupyterLab debugger freezes as soon as a breakpoint is hit. The code pauses, but the debugger never updates — no variables, no stack, nothing. The UI becomes stuck until the kernel is interrupted.

Screen.Recording.2025-12-06.at.23.32.26.mp4

Steps to Reproduce

  1. Open JupyterLab.
  2. Create a new notebook.
  3. Select xeus-python as the kernel.
  4. Open the Debugger panel.
  5. Click Enable Debugger.
  6. Add the following code in a cell
  7. Set a breakpoint on any line
  8. Execute the code cells

Code snippet for testing convenience

 def inner(n):
  if n <= 0:
      return 0
  return n + inner(n - 1)
def outer(n):
    x = inner(n)
    return x * 2
result = outer(3)
result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions