-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
wrong file name for exception in REPL #8023
Comments
I suspect this is due to inlining (#1189), but it would be helpful to post a small, reduced example that exhibits the problem in case we're missing something. |
I'll see if I can reproduce it but my code has changed since then a lot so I do not have this bug anymore. |
file mod.jlmodule mod export f function f() end file testError.jlusing mod f() when running testError in the repl (of JuliaStudio): julia> testError |
I get
on 0.3 RC4 at Windows. Please note although 0.2 is the latest "official" release I have doubts that this will be fixed in the 0.2 branch. So it would be great if you could switch to 0.3 RC4 and have a look if this or similar errors can be reproduced in that version. |
I upgraded to 0.3.0-RC4 on Ubuntu 14.04 and now it works ok. |
OK, then I'll mark this issue as Fixed. |
in version 0.2 of Julia:
I have the following situation: repl -> file A -> file B
file A is just a script that call functions from file B which is a separate module. Basically A is the "main" program and B is the library where the real functionality is. Now when an error occurs in B then in the shell I get the line number & name from A. That's useless. I want the line number (and full stack trace) from B.
The text was updated successfully, but these errors were encountered: