-
Notifications
You must be signed in to change notification settings - Fork 13
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
Stepping into functions in other files #38
Comments
I'll have to give this one some thought. I agree that it would be an incredibly useful feature (and it might be the one that I've got most requests for, so far). I also think that one of the most important qualities of a debugger is that it should never change how the code behaves, and I am not sure yet if this feature can be implemented in a foolproof way. I should add that the debugger will step into other functions and files, as long as the target is wrapped in a |
No big deal. I thought I had tried stepping into a function in another Any thoughts on context printing from issue #37? On Tue, Mar 5, 2013 at 1:12 AM, toivoh [email protected] wrote:
|
You're right, stepping into functions in other files does work as long as With the context printing (using a slightly modified parser) the debugging Thanks, sorry to hijack this issue. |
Adding the ability to jump into functions in other files (or included modules) would be incredibly useful. I'm thinking a way to do it would be when we hit a
:call
node in the AST to look for the function definition in all source files that have beeninclude
d orrequire
d (including the current file) and insert the AST for the function definition into the decorated AST and replace the original:call
to jump to the injected function definition rather than the compile code.Once could even probably step into functions in modules by searching through the .julia directory.
Does this sound "easily" doable?
Just wanted to throw this out there as another idea that would make the debugger really useful for julia users.
Thanks
The text was updated successfully, but these errors were encountered: