[PyQt] Any way to run code before each QThread?
me at the-compiler.org
Sun Jul 15 17:06:13 BST 2018
On Sun, Jul 15, 2018 at 05:57:29PM +0200, Tobias Rzepka wrote:
> Have a look into the Eric debugger. I've already implemented a solution to intercept the QThread creation and to inject code to trace the excecution.
That seemes to be here:
and just patches the QThread class.
Not sure if that's possible for coverage to do (as it doesn't implement
its own module loading hook, afaik). It definitely gets the
"hacky^H^H^H^H^Hcreative idea" badge, though :D
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt