-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
How can I manually call Debugger::getBar()->render() in v2.9? #523
Comments
Please note that the reason this has come up is because in some server situations, I need to force Tracy to use native PHP sessions: adrianbj/TracyDebugger#66 If I can use the new file-based sessions then the entire workaround isn't needed anymore, which is awesome! |
Hi. If the problem is that it doesn't use the native session, that should be switched: Tracy\Debugger::setSessionStorage(new Tracy\NativeSession);
Tracy\Debugger::enable(); Furthermore, I think this Debugger::getStrategy()->renderBar(); |
Hi @dg - unfortunately that doesn't help. If you take a look at: adrianbj/TracyDebugger#66 there seems to be a conflict with the new file sessions and @teppokoivula 's setup. So I set an option to use
which works great in Tracy 2.8, 2.7, 2.5 etc, but it no longer works in 2.9 and unfortunately Is there anything else I can provide to help explain my need, or debug? Thanks. |
Honestly, I'm pretty lost in this :) If you had a repo with a minimal example of the situation, it would help me a lot. |
@adrianbj Did you manage to resolve it somehow? |
@dg - not yet. Sorry for the delay - I'll try to get you access to a setup to test sooner than later. |
Version: 2.9.0
Hi @dg - this isn't really a bug, but I have relied on:
as per your recommendation here: #214 (comment)
Of course now
render()
requires the$defer
argument.Any thoughts on how I might be able to handle this need in 2.9?
Thanks.
The text was updated successfully, but these errors were encountered: