JuliaDebug/CodeTracking.jl

"definition" cannot read function defined within Jupyter notebook

Open

#51 opened on Jan 29, 2020

 (6 comments) (0 reactions) (0 assignees)Julia (11 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (150 stars)
PR merge metrics
 (Avg merge 47m) (3 merged PRs in 30d)

Description

When calling definition in a Jupyter notebook:

f(x,y) = x^2 + y^2
definition(String, @which(f(Int,Int)))

I get the following error: SystemError: opening file "In[52]": No such file or directory

Seems to just not handled reading from the notebook's In because it works when reading from functions defined purely in the REPL.

Contributor guide