Git Product home page Git Product logo

Comments (7)

kylemeow avatar kylemeow commented on July 24, 2024 1

+1 for this feature : )

from btrace.

jbachorik avatar jbachorik commented on July 24, 2024

[author="j.bachorik", created="Fri, 11 May 2012 18:44:43 +0200"]

Probably could be achieved but it wouldn't work 100%. You would need the class data with debugging symbols in order to match the stack pointer to a local variable name.
Definitely not for 1.2.*

from btrace.

jbachorik avatar jbachorik commented on July 24, 2024

[author="grnch", created="Fri, 14 Mar 2014 14:06:02 +0100"]

Are there still any plans to implement this?

Please consider doing this, it would be an absolutely killer feature.

It would essentially complete the cycle and turn BTrace into a full fledged "programmable read-only debugger" for production instances. It would be indispensable for those weird bugs that you cannot reproduce on test servers, and if you just knew the value of that one local variable on the production server it would give you a clue what the problem is.

It would be fine if this feature only works with classes that have debug symbols, the probe can just fail if the class does not have debug info.

from btrace.

jbachorik avatar jbachorik commented on July 24, 2024

[author="grnch", created="Fri, 14 Mar 2014 14:07:02 +0100"]

Or as a fall back you could maybe provide all local variables in an AnyType[] array, similar to how method parameters are provided? After all, method parameters and local variables sit in the same array on the JVM stack frame.

That way even without the names of local variables you could at least guess which slot in the array corresponds to which local var, with a little experimentation.

But this is less important, even a simpler implementation that just fails when there is no debug info would be great.

from btrace.

whitelilis avatar whitelilis commented on July 24, 2024

I'm looking for this feature, then see this issue. I wish it will come soon.

from btrace.

lawnight avatar lawnight commented on July 24, 2024

this's a great feature.hope come soon.

from btrace.

github-actions avatar github-actions commented on July 24, 2024

Stale issue message

from btrace.

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.