Giter Club home page Giter Club logo

Comments (3)

toivoh avatar toivoh commented on September 22, 2024

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 @debug block as well. Se also #19, where the idea was to be able to wrap code in a @debuggable macro to save the AST so that it could be instrumented later. If I attempt something like this, that is probably where I would start.

from debug.jl.

nfoti avatar nfoti commented on September 22, 2024

No big deal. I thought I had tried stepping into a function in another
file wrapped in @debug, but I'll try again.

Any thoughts on context printing from issue #37?

On Tue, Mar 5, 2013 at 1:12 AM, toivoh [email protected] wrote:

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 @debug block as well. Se also #19#19,
where the idea was to be able to wrap code in a @debuggable macro to save
the AST so that it could be instrumented later. If I attempt something like
this, that is probably where I would start.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-14425262
.

from debug.jl.

nfoti avatar nfoti commented on September 22, 2024

You're right, stepping into functions in other files does work as long as
they're wrapped in @debug.

With the context printing (using a slightly modified parser) the debugging
experience is quite nice. No rush, but when you have a chance, let's
figure out what the best course of action is for this. I determined that
the julia parser only returns file information for lines in functions. One
can fix this by modifying a few lines in the parser scheme file, but we
should probably talk to the core guys to make sure it's done in an
efficient way.

Thanks, sorry to hijack this issue.

from debug.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.