Coder Social home page Coder Social logo

Stacktrace and debugging about mysql HOT 6 CLOSED

rodion-k avatar rodion-k commented on June 21, 2024
Stacktrace and debugging

from mysql.

Comments (6)

bwoebi avatar bwoebi commented on June 21, 2024

@trowski or @kelunik Can we manipulate the stacktrace to include ReflectionGenerator::getTrace() before throwing into the Generator? Then we'd have at least the full application side stacktrace, beneficial to the app devs themselves. (obviously v3 solves, that … mostly)

from mysql.

kelunik avatar kelunik commented on June 21, 2024

We might be able to do that, I think @danog hacked something for his coroutine implementation.

from mysql.

danog avatar danog commented on June 21, 2024

I did exactly that in my coroutine runtime: https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/Coroutine.php#L252

from mysql.

magussiro avatar magussiro commented on June 21, 2024

any further update?

from mysql.

kelunik avatar kelunik commented on June 21, 2024

Fibers will solve this in PHP 8.1+.

from mysql.

trowski avatar trowski commented on June 21, 2024

Closing this as I believe the original question has been answered. There's not much we can do about stack traces with Amp v2. Hopefully this will be much better with Amp v3 and fibers.

from mysql.

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.