pip list | grep -e ‘lab’ -e ‘xeus’
jupyterlab 4.0.9
jupyterlab_pygments 0.3.0
jupyterlab_server 2.25.2
jupyterlab-widgets 3.0.9
xeus-python 0.15.11
xeus-python-shell 0.5.0
Spent the better part of yesterday following all sorts of different directions for debugging. Here is the use case:
Symbol.ipynb:
class Symbol:
def new(self ,name):
...
SymbolTest.ipynb:
class SymbolTest(Symbol):
...
def test_new_symbol(self):
-> symbol_id = self.new("TestSymbol")
if symbol_id != 3:
print(f"{L.fqmn()} new symbol_id is not 3.")
return False
return True
- I set the break point at the line with the arrow, and execute the test. Execution stops at the break point. All good so far.
- On the GUI I press the little downarrow step-in button. No dice. It steps over.
I followed some directions to install Xeus. I followed some directions to save the files as executable scripts. I tried setting both modules to the same kernel. No dice. I tried setting a break point in Symbol::new(), and it is ignored.
How can I make the debugger work? It would save a lot of time to have a working debugger. There is not much code in the top module, so it is not really helpful to only be able to set break points there.
Xeus does issue a frozen modules warning. My understanding is that is for system modules, not my own modules. I set the environment variable to squelch that message. Could ‘frozen modules’ be the problem? – turning off the frozen modules feature did not help.