Hi – If I have an error in a relatively long IJulia cell, IJulia correctly describes the error, but does not specify the location:
In: x = 2 y = 3 z = not_defined a = 4 b = 5
UndefVarError: not_defined not defined
For a long cell, this makes it difficult to find the location of the error.
If I had wrapped the statements in a function:
In: function wrap() x = 2 y = 3 z = not_defined a = 4 b = 5 end wrap()
UndefVarError: not_defined not defined Stacktrace:  wrap() at ./In:4
then the error message provides a helpful location, but since I’m developing interactively, I want to easily modify the global scope.
Is there a way to work around this issue?