Bartosz Taudul
Bartosz Taudul
Hah! I've been thinking about this literally yesterday and I was wondering if this would be a problem. The documented time limit of a trace is 2^47 ns, or about...
> And my dream would be just a blackbox mode where the program could trigger a dump of the last X frames/X seconds/X MB of tracing information for later analysis...
It's the edit and continue crap most likely.
I don't really see how this could work correctly in a multithreaded application.
> It just stops collecting of data from Tracy calls for whole application, so it works fine. This is exactly why it won't work fine. T1: suspend profiling T2: enter...
It seems to me like what you are looking for here is the `active` parameter in the macros.
Callstack collection should be paused when on demand mode is used and no connection is established. You should be able to extend this to you use case.
Please read about fibers in the manual.
89f68bab should fix.
Some related discussion: https://bitbucket.org/wolfpld/tracy/issues/42/cannot-scroll-down-capture-on-macos